API Reference > OdDb Classes > OdDbObjectContext Class > OdDbObjectContext Methods > OdDbObjectContext::setName Method
OdDbObjectContext::setName Method
Syntax
C++
virtual OdResult setName(const OdString& name) = 0;
Parameters 
Description 
const OdString& name 
[in] New name of the context. 

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

Sets a new name of a context. 

 

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