SlicerItem.Selected Property

Gets or sets whether the slicer item is selected. Read/write for slicers connected to non-OLAP data sources. Read-only for slicers connected to OLAP data sources.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property Selected As Boolean
    Get
    Set
'Usage
Dim instance As SlicerItem
Dim value As Boolean

value = instance.Selected

instance.Selected = value
bool Selected { get; set; }

Property Value

Type: System.Boolean
true if the slicer item is selected; otherwise, false.

Remarks

Read/write.

true if the slicer item is selected; otherwise false.

See Also

Reference

SlicerItem Interface

SlicerItem Members

Microsoft.Office.Interop.Excel Namespace