ACAPI_​Element_​GetClassificationItemsDefault

Retrieves all of the classifications of a default elem.

    GSErrCode  ACAPI_Element_GetClassificationItemsDefault (
        API_ElemTypeID                               typeID,
        API_ElemVariationID                          variationID,
        GS::Array<GS::Pair<API_Guid, API_Guid>>&     systemItemPairs
    );

 

Parameters

typeID
[in] Type of the default element.
variationID
[in] The element variation that distinguishes the element kinds of the same type.
systemItemPairs
[out] A list of classification system and classification item guid pairs, that represent the element’s classifications.

 

Return Values

NoError
The function has completed with success.
APIERR_BADID
The typeID and variationID together did not refer to a valid default element.

For other common API errors see the API Errors document.

 

Example

For detailed examples, please see the Classification_Test add-on.

 

Requirements

Version: API 21 or later
Header: ACAPinc.h

 

See Also

Classification,
API Functions