DataObjectAttribute.DataObject 欄位

定義

表示類別在設計階段適合繫結至 ObjectDataSource 物件。Indicates that the class is suitable for binding to an ObjectDataSource object at design time. 此欄位為唯讀。This field is read-only.

public: static initonly System::ComponentModel::DataObjectAttribute ^ DataObject;
public static readonly System.ComponentModel.DataObjectAttribute DataObject;
 staticval mutable DataObject : System.ComponentModel.DataObjectAttribute
Public Shared ReadOnly DataObject As DataObjectAttribute 

欄位值

備註

DataObject 欄位會傳回新的 DataObjectAttribute 物件,並將 IsDataObject 屬性設定為 trueThe DataObject field returns a new DataObjectAttribute object with the IsDataObject property set to true.

適用於