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):
...
Parameter | Type | Description |
---|---|---|
position | int | The position |
Exceptions
Exception | Description |
---|---|
ArgumentOutOfRangeException |