Web API Reference MapGuide Open Source
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. 


Comments or suggestions? Send us feedback.