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 operation was successful; eInvalidInput if the attribute parameter is invalid.

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

 

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