Add an attribute to the collection. If the collection already has an attribute of this class, it will not be replaced.
Parameters
Parameters
Description
attribute
[in] Attribute to be added to the collection.
Returns
eOk if an attribute is added to the collection successfully; eInvalidInput if the attribute parameter is invalid; eDuplicateKey if the collection already has an attribute of this type.