API Reference > Classes > OdTf Classes > OdTfPropertiesContainer Class > OdTfPropertiesContainer Methods > OdTfPropertiesContainer::find Method (OdString&)
OdTfPropertiesContainer::find Method (OdString&)
Syntax
C++
virtual const OdTfProperty* find(const OdString& name) const = 0;
Parameters 
Description 
const OdString& name 
[in] A name of the property to be found.  

Returns a pointer to a property object if it was found; otherwise returns a NULL pointer.

Searches for a property in the container by its name.

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

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