Language

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、 XlPivotCellTypeDataField、 XlPivotCellTypeSubtotal、 または XlPivotCellTypeGrandTotal) のいずれでもない場合、エラーを返します。

適用対象