IndexOf

PortionCollection.IndexOf method

Determines the index of a specific item in the IList.

public int IndexOf(IPortion item)
ParameterTypeDescription
itemIPortionThe object to locate in the IList.

Return Value

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

See Also