## Slicer::SelectItems method




```cpp
void Aspose::Cells::Slicers::Slicer::SelectItems(const Vector<U16String> &labels, bool append)
```


| Parameter | Type | Description |
| --- | --- | --- |
| labels | const Vector \<U16String\>\& | Selected labels. |
| append | bool | False means only selecting these labels and unselecting others. True means keeping old selected items and selecting these labels. |
## Remarks



If you want to select all items, please use [ClearFilter](../clearfilter/) method. 
## See Also

* Class [Vector](../../../aspose.cells/vector/)
* Class [U16String](../../../aspose.cells/u16string/)
* Class [Slicer](../)
* Namespace [Aspose::Cells::Slicers](../../)
* Library [Aspose.Cells for C++](../../../)
