IndexOf()

PortionCollection::IndexOf(System::SharedPtr<IPortion>) method

Determines the index of a specific item in the IList.

int32_t Aspose::Slides::PortionCollection::IndexOf(System::SharedPtr<IPortion> item) override

Arguments

ParameterTypeDescription
itemSystem::SharedPtr<IPortion>The object to locate in the IList.

Return Value

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

See Also