API Reference > OdDb Classes > OdDbObjectContext Class > OdDbObjectContext Methods > OdDbObjectContext::uniqueIdentifier Method
OdDbObjectContext::uniqueIdentifier Method
Syntax
C++
virtual OdIntPtr uniqueIdentifier() const = 0;

Returns the ID of the context.

Use the context ID when referencing a context since it is unique. Do not use the context name since it can change.

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