API Reference > OdRx Classes > OdRxDictionary Class > OdRxDictionary Methods > OdRxDictionary::resetKey Method
OdRxDictionary::resetKey Method
Syntax
C++
virtual bool resetKey(OdUInt32 id, const OdString& newKey) = 0;
Parameters 
Description 
OdUInt32 id 
[in] ID as an integer value.  
const OdString& newKey 
[in] New keyword as a string value. 

Returns true if and only if successful.

Sets the keyword for the item specified by ID for the dictionary object. 

 

Example of Working with a Dictionary 

Functionality of Dictionaries

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