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

Removes the item specified by keyword from the dictionary object. 

 

This method does not delete the instance associated with the removed item and returns a smart pointer to the instance referenced by the item.

Example of Working with a Dictionary 

Functionality of Dictionaries

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