Edit

Share via


PivotField.CurrentPageName Property

Definition

Returns or sets the currently displayed page of the specified PivotTable report. The name of the page appears in the page field. Note that this property works only if the currently displayed page already exists. Read/write String.

public:
 property System::String ^ CurrentPageName { System::String ^ get(); void set(System::String ^ value); };
public string CurrentPageName { get; set; }
Public Property CurrentPageName As String

Property Value

Remarks

This property applies to PivotTables that are connected to an OLAP data source. Attempting to return or set this property with a PivotTable that is not connected to an OLAP data source will result in a run-time error.

Applies to