AcMapObjClassDefinition::GetProperty Method

Land Desktop Development ARX CPP SDK

AcMapObjClassDefinition:: GetProperty Method
 

Retrieves a property of this feature class definition.

AcMapObjClass::EErrCode GetProperty(
    AcMapObjClassProperty*& pProperty, 
    const AcMapStringArray& aStrParentToSubCategoryNames, 
    const ACHAR* pszPropertyName
) const;
Parameters 
Description 
pProperty 
Output AcMapObjClassPropertyproperty object. The caller must free this object.  
aStrParentToSubCategoryNames 
Input category. This array must contain the hierarchy of all categories for the property, from the top base category to the last sub-category that is the property's direct category.  
pszPropertyName 
Input name of the property to retrieve.  
Returns

Returns AcMapObjClass::EErrCode eOk if successful. Returns AcMapObjClass::EErrCode eClassNotFromCurrentSchema if the class is not from the current feature-definition file. Returns AcMapObjClass::EErrCode ePropertyNotFound if the property does not exist. Returns AcMapObjClass::EErrCode eFailed if the process failed for some other reason.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].