PivotCell.DataField プロパティ

定義

PivotField選択したデータ フィールドに対応するオブジェクトを返します。

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

プロパティ値

注釈

PivotCell オブジェクトが、XlPivotCellTypeValue、XlPivotCellTypeDataFieldXlPivotCellTypeSubtotal、または XlPivotCellTypeGrandTotal のいずれかではない場合、このプロパティはエラーを返します。

適用対象