AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

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.