MapiPropertyContainer.TryGetPropertyDateTime

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)
ParameterTypeDescription
tagInt64The MAPI property tag.
valueDateTime&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