Share via


SlicerItem.Caption Property

Gets the label text for the slicer item.

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

Syntax

'Declaration
ReadOnly Property Caption As String
    Get
'Usage
Dim instance As SlicerItem
Dim value As String

value = instance.Caption
string Caption { get; }

Property Value

Type: System.String
The label text for the slicer item.

Remarks

Read-only.

See Also

Reference

SlicerItem Interface

SlicerItem Members

Microsoft.Office.Interop.Excel Namespace