IndexOf

IPortionCollection.IndexOf method

Determines the index of a specific portion in collection.

public int IndexOf(IPortion item)
ParameterTypeDescription
itemIPortionThe portion to locate in the collection.

Return Value

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

See Also