Slicer.Caption Property

Definition

Gets or sets the caption of the specified slicer.

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

Property Value

The caption of the specified slicer.

Remarks

Read/write.

The value specified for the Caption property is displayed in the header of the slicer. If the Caption property is not specified, Excel uses the value of the Caption property of the underlying PivotField object.

Applies to