MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual MgDateTime* MgReader::GetDateTime ( INT32  index) [pure virtual]

Gets the MgDateTime value of the specified property.

Remarks:
No conversion is performed. Therefore, the property must be of type MgPropertyType::DateTime or an MgInvalidPropertyTypeException is thrown.
.NET Syntax
virtual MgDateTime GetDateTime(int index);
Java Syntax
virtual MgDateTime GetDateTime(int index);
PHP Syntax
virtual MgDateTime GetDateTime(int index);
Parameters:
index(int) The position of the property in the list of properties belonging to the feature currently being read.
Returns:
Returns an MgDateTime object.
Exceptions:
MgInvalidPropertyTypeException
Since:
2.2