Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

Close
GetBLOB
GetBoolean
GetByte
GetCLOB
GetDateTime
GetDouble
GetGeometry
GetInt16
GetInt32
GetInt64
GetPropertyCount
GetPropertyName
GetPropertyType
GetRaster
GetReaderType
GetSingle
GetString
IsNull
ReadNext
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.