Retrieve the value of a named property.
Remarks
Use this method if you know the name of the property for which you want to retrieve the value. Use the enumerator if you want access to all properties.
Parameters
Parameters |
Description |
const MString& rsPropName |
Name of the property for which you want to retrieve the value. |
MString& rsValue |
Value of the named property is returned in this parameter.If the property is not found, the value is set to empty string. |
Return Value
The method returns Mtrue if the named property was found. Otherwise, it returns Mfalse.
Declaration
virtual Mboolean getProperty(const MString& rsPropName, MString& rsValue) const;
Links