
## filter(self, type, sheet_index) {#aspose.cells.NameScopeType-int}

Gets all defined name by scope.


### Returns 





```python

def filter(self, type, sheet_index):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| type | aspose.cells.NameScopeType | The scope type. |
| sheet_index | int | The sheet index.<br/>Only effects when scope type is [`NameScopeType.WORKSHEET`](/cells/python-net/aspose.cells/namescopetype#WORKSHEET) |



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