API Reference > OdDb Classes > OdDbObjectContextManager Class > OdDbObjectContextManager Methods > OdDbObjectContextManager::registerContextCollection Method
OdDbObjectContextManager::registerContextCollection Method
Syntax
C++
OdResult registerContextCollection(const OdString& collectionName, OdDbObjectContextCollection* pCollection);
Parameters 
Description 
const OdString& collectionName 
[in] Name of the context collection.  
OdDbObjectContextCollection* pCollection 
[in] Pointer to the context collection. 

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

Registers a context collection with the context manager. 

 

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