Web API Reference MapGuide Open Source
virtual MgDateTime* MgReader::GetDateTime ( CREFSTRING  propertyName  )  [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(string propertyName);
Java Syntax
virtual MgDateTime GetDateTime(String propertyName);
PHP Syntax
virtual MgDateTime GetDateTime(string propertyName);

Parameters:
propertyName (String/string) The property name.
Returns:
Returns an MgDateTime object.
Exceptions:
MgInvalidPropertyTypeException. 


Comments or suggestions? Send us feedback.