MapiPropertyContainerTryGetPropertyDateTime Method

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

Namespace:  Aspose.Email.Mapi
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.6
Syntax
public bool TryGetPropertyDateTime(
	long tag,
	ref DateTime value
)

Parameters

tag
Type: SystemInt64
The MAPI property tag.
value
Type: SystemDateTime
When this method returns, contains the value of the specified property, if the property exists. This parameter is passed uninitialized.

Return Value

Type: Boolean
true if s was converted successfully; otherwise, false.
See Also