PivotField.DisplayAsCaption Property
This property is used to display member properties of PivotFields as captions. Read-only.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
ReadOnly Property DisplayAsCaption As Boolean
Get
'Usage
Dim instance As PivotField
Dim value As Boolean
value = instance.DisplayAsCaption
bool DisplayAsCaption { get; }
Property Value
Type: System.Boolean
Boolean
Remarks
This property returns True when a given member property is used as a caption and False when a member property PivotField is not used as caption. Trying to use this property for PivotFields that are not member properties will return a run-time error.