IndexOf()

BehaviorPropertyCollection::IndexOf(const System::SharedPtr<IBehaviorProperty>&) const method

Determines the index of a specific item in the IList.

int32_t Aspose::Slides::Animation::BehaviorPropertyCollection::IndexOf(const System::SharedPtr<IBehaviorProperty> &item) const override

Arguments

ParameterTypeDescription
itemconst System::SharedPtr<IBehaviorProperty>&The object to locate in the IList.

Return Value

The index of item if found in the list; otherwise, -1.

BehaviorPropertyCollection::IndexOf(const System::String&) const method

Determines the index of a specific item by property value in the IList.

int32_t Aspose::Slides::Animation::BehaviorPropertyCollection::IndexOf(const System::String &propertyValue) const override

Arguments

ParameterTypeDescription
propertyValueconst System::String&value of the property

Return Value

The index of the property with the specified value

See Also