MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
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