AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

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