IParserProperty.GetDateTime Method
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Returns a document property of the DateTime data type.
HRESULT GetDateTime(
Parameters
pval
[out] The document property value.
Return Value
The IParserProperty Class methods return typical HRESULT values. In general, the method should return a positive OK value when successful or a negative FAIL value when unsuccessful.
Remarks
Returns an error if the property is not of the DateTime data type.
Date and time is specified according to coordinated universal time (UTC), with no time zone specified.
For IParserProperty Class methods, all output parameters of type LPCSTR are valid only as long as the IParserProperty interface pointer remains valid. The method caller should never change or free the memory pointed to by any output parameters of type LPCSTR.
If you call an IParserProperty.Set<datatype> method, then any previously returned output LCPSTR parameter may no longer be valid.