API Reference > OdDb Classes > OdDbObjectContextCollection Class > OdDbObjectContextCollection Methods > OdDbObjectContextCollection::getContext Method
OdDbObjectContextCollection::getContext Method
Syntax
C++
virtual OdDbObjectContextPtr getContext(const OdString& contextName) const = 0;
Parameters 
Description 
const OdString& contextName 
[in] Name of the context. 

Returns a pointer to a copy of a named context in the collection. 

 

If no context exists with the specified name, Null is returned.

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