AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual BYTE MgReader::GetByte ( CREFSTRING  propertyName  )  [pure virtual]

Gets the Byte value of the specified property.

Remarks:
No conversion is performed. Therefore, the property must be of type MgPropertyType::Byte or an MgInvalidPropertyTypeException is thrown.
.NET Syntax
virtual unsigned char GetByte(string propertyName);
Java Syntax
virtual signed char GetByte(String propertyName);
PHP Syntax
virtual int GetByte(string propertyName);

Parameters:
propertyName (String/string) The property name.
Returns:
Returns the Byte value.
Exceptions:
MgInvalidPropertyTypeException.