
## index_of(self, item, index) {#aspose.cells.CustomFilter-int}

Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the array list that extends from the specified index to the last element.


### Returns 


The zero-based index of the first occurrence of value within the range of elements in the array list that extends from startIndex to the last element, if found; otherwise, -1.


```python

def index_of(self, item, index):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| item | aspose.cells.CustomFilter | The object to locate in the array list. The value can be null. |
| index | int | The zero-based starting index of the search. 0 (zero) is valid in an empty list. |


## index_of(self, item, index, count) {#aspose.cells.CustomFilter-int-int}

Searches for the specified object and returns the zero-based index of the first occurrence within the range of elements in the array list that starts at the specified index and contains the specified number of elements.


### Returns 


The zero-based index of the first occurrence of value within the range of elements in the array list that starts at startIndex and contains count number of elements, if found; otherwise, -1.


```python

def index_of(self, item, index, count):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| item | aspose.cells.CustomFilter | The object to locate in the array list. The value can be null. |
| index | int | The zero-based starting index of the search. 0 (zero) is valid in an empty list. |
| count | int | The number of elements in the section to search. |



### See Also
* module [`aspose.cells`](../../)
* class [`CustomFilterCollection`](/cells/python-net/aspose.cells/customfiltercollection)
