IModelObject::ClearConcepts method (dbgmodel.h)

The ClearConcepts method will remove all concepts from the instance of the object specified by this.

Syntax

HRESULT ClearConcepts();

Return value

This method returns HRESULT that indicates success or failure.

Remarks

Code Sample

ComPtr<IModelObject> spObject; /* get an object */

if (SUCCEEDED(spObject->ClearConcepts()))
{
    // All concepts are gone from spObject.  Parent models may still have concepts.  
    // GetConcept may find concepts from parent models.
}

Requirements

Requirement Value
Header dbgmodel.h

See also

IModelObject interface