API Reference > OdDb Classes > OdDbDictionary Class > OdDbDictionary Methods > OdDbDictionary::setName Method
OdDbDictionary::setName Method
Syntax
C++
bool setName(const OdString& oldName, const OdString& newName);
Parameters 
Description 
const OdString& oldName 
[in] Name of entry to change.  
const OdString& newName 
[in] New name for the entry. 

Returns true and only if the entry name was successfully changed.

Changes the name (key) of the specified entry in this Dictionary object. 

 

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