API Reference > Classes > OdTf Classes > OdTfAttributesContainer Class > OdTfAttributesContainer Methods > OdTfAttributesContainer::find Method
OdTfAttributesContainer::find Method
Syntax
C++
virtual const OdTfAttribute* find(const OdString& name) const = 0;
Parameters 
Description 
const OdString& name 
[in] A string that contains the name of the attribute.  

Returns a pointer to the attribute object represented as an instance of the OdTfAttribute class.

Searches for an attribute in the container by its name.

If the container contains more than one attribute with the specified name, the first found attribute is returned.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.