AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual STRING MgReader::GetString ( CREFSTRING  propertyName  )  [pure virtual]

Gets the string value of the specified property.

Remarks:
No conversion is performed. Therefore, the property must be a of type MgPropertyType::String or an MgInvalidPropertyTypeException is thrown.
.NET Syntax
virtual string GetString(string propertyName);
Java Syntax
virtual String GetString(String propertyName);
PHP Syntax
virtual string GetString(string propertyName);

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