index_of method

index_of

Gets the index of the given position.

Returns

The index of the collection in the dictionary -or- -1 if the position is not found.

def index_of(self, position):
    ...
ParameterTypeDescription
positionintThe position

Exceptions

ExceptionDescription
ArgumentOutOfRangeException

See Also