MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual INT16 MgReader::GetInt16 ( INT32  index) [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(int index);
Java Syntax
virtual short GetInt16(int index);
PHP Syntax
virtual int GetInt16(int index);
Parameters:
index(int) The position of the property in the list of properties belonging to the feature currently being read.
Returns:
Returns the 16 bit integer value.
Exceptions:
MgInvalidPropertyTypeException
Since:
2.2