IndexOf

IPortionCollection.IndexOf method

Determines the index of a specific portion in collection.

public int IndexOf(IPortion item)
Parameter Type Description
item IPortion The portion to locate in the collection.

Return Value

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

See Also