Share via


PivotField.SourceCaption Property

The SourceCaption property is applicable only for OLAP PivotTables, and returns the original caption from the OLAP server for a PivotField. Read-only.

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

Syntax

'Declaration
ReadOnly Property SourceCaption As String
    Get
'Usage
Dim instance As PivotField
Dim value As String

value = instance.SourceCaption
string SourceCaption { get; }

Property Value

Type: System.String
String

Remarks

You can use the Name or the SourceName for non-OLAP PivotTables.

See Also

Reference

PivotField Interface

PivotField Members

Microsoft.Office.Interop.Excel Namespace