ClearConcepts 方法将从由此指定的对象的实例中删除所有概念。
语法
HRESULT ClearConcepts();
返回值
此方法返回指示成功或失败的 HRESULT。
言论
代码示例
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.
}
要求
要求 | 价值 |
---|---|
标头 | dbgmodel.h |