API Reference > OdRx Classes > OdRxDictionary Class > OdRxDictionary Methods > putAt Method > OdRxDictionary::putAt Method (OdUInt32, OdRxObject*)
OdRxDictionary::putAt Method (OdUInt32, OdRxObject*)
Syntax
C++
virtual OdRxObjectPtr putAt(OdUInt32 id, OdRxObject* pObject) = 0;
Parameters 
Description 
OdUInt32 id 
[in] ID as an integer value.  
OdRxObject* pObject 
[in] Pointer to the instance to be put. 

Returns a smart pointer to the object at this entry prior to the call.

Puts the instance specified by the smart pointer into the dictionary object and associates it with the specified keyword. 

 

Smart pointer must not be Null, and id > 0.

Example of Working with a Dictionary 

Functionality of Dictionaries

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