MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual INT16 MgReader::GetInt16 ( CREFSTRING  propertyName) [pure virtual]

Gets the 16 bit integer value of the specified property.

Remarks:
No conversion is performed. Therefore the property must be a of type MgPropertyType::Int16 or an MgInvalidPropertyTypeException is thrown.
.NET Syntax
virtual short GetInt16(string propertyName);
Java Syntax
virtual short GetInt16(String propertyName);
PHP Syntax
virtual int GetInt16(string propertyName);
Parameters:
propertyName(String/string) The property name.
Returns:
Returns the 16 bit integer value.
Exceptions:
MgInvalidPropertyTypeException