API Reference > OdRx Classes > OdRxDictionary Class > OdRxDictionary Methods > OdRxDictionary::idAt Method
OdRxDictionary::idAt Method
Syntax
C++
virtual OdUInt32 idAt(const OdString& key) const = 0;
Parameters 
Description 
const OdString& key 
[in] Keyword as a string value. 

Returns the ID of the item specified by the keyword in the dictionary object. 

 

Returns (-1) if the keyword is not found in the dictionary.

Example of Working with a Dictionary 

Functionality of Dictionaries

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