
## last_index_of(self, item) {#aspose.cells.Style}

Searches for the specified object and returns the zero-based index of the last occurrence within the entire array list.


### Returns 


The zero-based index of the last occurrence of value within the entire the array list, if found; otherwise, -1.


```python

def last_index_of(self, item):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| item | aspose.cells.Style | The object to locate in the array list. The value can be null. |


## last_index_of(self, item, index) {#aspose.cells.Style-int}

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


### Returns 


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


```python

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


| Parameter | Type | Description |
| :- | :- | :- |
| item | aspose.cells.Style | The object to locate in the array list. The value can be null. |
| index | int | The zero-based starting index of the backward search. |


## last_index_of(self, item, index, count) {#aspose.cells.Style-int-int}

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


### Returns 


The zero-based index of the last occurrence of value within the range of elements in the System.Collections. Array list that contains count number of elements and ends at startIndex, if found; otherwise, -1.


```python

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


| Parameter | Type | Description |
| :- | :- | :- |
| item | aspose.cells.Style | The object to locate in the array list. The value can be null. |
| index | int | The zero-based starting index of the backward search. |
| count | int | The number of elements in the section to search. |



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