index_of method

index_of

Determines the index of a specific item in the System.Collections.Generic.IList`1.

Returns

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

def index_of(self, item):
    ...
ParameterTypeDescription
itemIBehaviorThe object to locate in the System.Collections.Generic.IList`1.

See Also