DataObjectAttribute.NonDataObject 欄位

定義

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

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

欄位值

備註

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

適用於