API Reference > Classes > OdTf Classes > OdTfPropertiesContainer Class > OdTfPropertiesContainer Methods > OdTfPropertiesContainer::index Method
OdTfPropertiesContainer::index Method
Syntax
C++
virtual size_type index(const OdTfProperty* pProp) const = 0;
Parameters 
Description 
const OdTfProperty* pProp 
[in] A pointer to a property object.  

Returns an index value if the specified property is found in the container; otherwise returns -1.

Retrieves the index value for a specified property. The index value determines the position of the property in the container.

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