Share via


PivotItem.Caption Property

The label text for the pivot item. Read-only String.

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

Syntax

'Declaration
Property Caption As String
    Get
    Set
'Usage
Dim instance As PivotItem
Dim value As String

value = instance.Caption

instance.Caption = value
string Caption { get; set; }

Property Value

Type: System.String

See Also

Reference

PivotItem Interface

PivotItem Members

Microsoft.Office.Interop.Excel Namespace