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

Gets the Boolean value of the specified property.

Remarks:
No conversion is performed. Therefore, the property must be of MgPropertyType::Boolean type or an MgInvalidPropertyTypeException is thrown.
.NET Syntax
virtual bool GetBoolean(string propertyName);
Java Syntax
virtual boolean GetBoolean(String propertyName);
PHP Syntax
virtual bool GetBoolean(string propertyName);
Parameters:
propertyName(String/string) The property name.
Returns:
Returns the Boolean value.
Exceptions:
MgInvalidPropertyTypeException