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

Returns true if the object supports the named context collection, or returns false if it does not.

Returns whether a context collection is supported by a specified object. 

 

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