API Reference > OdDb Classes > OdDbObjectContextInterface Class > OdDbObjectContextInterface Methods > OdDbObjectContextInterface::removeContext Method
OdDbObjectContextInterface::removeContext Method
Syntax
C++
virtual OdResult removeContext(OdDbObject* pObject, const OdDbObjectContext& context) const = 0;
Parameters 
Description 
OdDbObject* pObject 
[in] Pointer to the object.  
const OdDbObjectContext& context 
[in] Name of the context to remove. 

Returns eOk if successful, or an appropriate error code if not.

Removes a context from the specified object. 

 

Copyright © 2002–2021. Open Design Alliance. All rights reserved.