MapiPropertyContainer.TryGetPropertyDateTime

MapiPropertyContainer.TryGetPropertyDateTime method

Gets the value of a property as a date and time, if the property exists.

public bool TryGetPropertyDateTime(long tag, ref DateTime value)
ParameterTypeDescription
tagInt64The tag of the property.
valueDateTime&When this method returns, the value of the property, if it exists; otherwise, the value is unchanged.

Return Value

true if the property exists; otherwise, false.

See Also