PivotCell.DataField Propriété

Définition

Renvoie un PivotField objet qui correspond au champ de données sélectionné.

public:
 property Microsoft::Office::Interop::Excel::PivotField ^ DataField { Microsoft::Office::Interop::Excel::PivotField ^ get(); };
public Microsoft.Office.Interop.Excel.PivotField DataField { get; }
Public ReadOnly Property DataField As PivotField

Valeur de propriété

PivotField

Remarques

Cette propriété retourne une erreur si l’objet PivotCell n’est pas l’un des types autorisés : XlPivotCellTypeValue, XlPivotCellTypeDataField, XlPivotCellTypeSubtotalou XlPivotCellTypeGrandTotal.

S’applique à