MapiPropertyContainer.TryGetPropertyDateTime method

Gets the value of the specified property as DateTime type. A return value indicates whether the operation succeeded.

public bool TryGetPropertyDateTime(long tag, ref DateTime value)
Parameter Type Description
tag Int64 The MAPI property tag.
value DateTime& When this method returns, contains the value of the specified property, if the property exists. This parameter is passed uninitialized.

Return Value

true if s was converted successfully; otherwise, false.

See Also