PivotField.MemberPropertyCaption Property

Setting the MemberPropertyCaption property controls which member property is used as caption for a given level. Read/write.

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

Syntax

'Declaration
Property MemberPropertyCaption As String
    Get
    Set
'Usage
Dim instance As PivotField
Dim value As String

value = instance.MemberPropertyCaption

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

Property Value

Type: System.String
String

Remarks

Note

This setting has a visual effect only when UseMemberPropertyAsCaption is set to True for the PivotField.

When MemberPropertyCaption is set, the setting is remembered while toggling the UseMemberPropertyAsCaption property.

See Also

Reference

PivotField Interface

PivotField Members

Microsoft.Office.Interop.Excel Namespace