AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

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.