GetExtendedAttributes method
- Last UpdatedJul 23, 2024
- 1 minute read
Retrieves the extended attributes in the hierarchy.
Class
IInstance
Syntax
[C#]
IAttributes GetExtendedAttributes(
string AttributeName,
int upto_level,
MxAttributeCategory[] ReturnOnlyTheseCategories
);
[Visual C++]
//Get Extended Attributes in Hierarchy
HRESULT GetExtendedAttributes(
// Attribute full name which is extended
[in] BSTR AttributeName,
// Up to how many level user needs extended
// primitives
// -1 will return all levels
[in] int upto_level,
// Return attributes which are only these
// categories. If safearray is empty, returns all
// attributes.
[in]SAFEARRAY(MxAttributeCategory) ReturnOnlyTheseCategories,
// Return attributes
[out,retval]IAttributes** theAttributes
);