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

Returns true if the named context exists in the collection, or returns Null if it does not exist.

Returns whether a named context exists in the collection. 

 

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