IndexOf()

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

Determines the index of a specific portion in collection.

virtual int32_t Aspose::Slides::IPortionCollection::IndexOf(System::SharedPtr<IPortion> item)=0

Arguments

ParameterTypeDescription
itemSystem::SharedPtr<IPortion>The portion to locate in the collection.

Return Value

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

See Also