## NameCollection::Filter method


Gets all defined name by scope.

```cpp
Vector<Name> Aspose::Cells::NameCollection::Filter(NameScopeType type, int32_t sheetIndex)
```


| Parameter | Type | Description |
| --- | --- | --- |
| type | NameScopeType | The scope type. |
| sheetIndex | int32_t | The sheet index. Only effects when scope type is [NameScopeType.Worksheet](../../namescopetype/) |

## ReturnValue



## See Also

* Class [Vector](../../vector/)
* Class [Name](../../name/)
* Enum [NameScopeType](../../namescopetype/)
* Class [NameCollection](../)
* Namespace [Aspose::Cells](../../)
* Library [Aspose.Cells for C++](../../../)
