API Reference > OdRx Classes > OdRxAttributeCollection Class > OdRxAttributeCollection Methods > OdRxAttributeCollection::override Method
OdRxAttributeCollection::override Method
Syntax
C++
OdResult override(const OdRxAttribute* attribute);
Parameters 
Description 
const OdRxAttribute* attribute 
[in] Attribute to be added to the collection. 

eOk if the attribute is added to the collection successfully, or eInvalidInput if the attribute parameter is invalid.

Adds an attribute to the collection. If the collection already has an attribute of this class, it will be replaced. 

 

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