DataObjectAttribute.Default 字段

定义

表示 DataObjectAttribute 类的默认值,该值指示该类适合在设计时绑定到 ObjectDataSource 对象。Represents the default value of the DataObjectAttribute class, which 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 ^ Default;
public static readonly System.ComponentModel.DataObjectAttribute Default;
 staticval mutable Default : System.ComponentModel.DataObjectAttribute
Public Shared ReadOnly Default As DataObjectAttribute 

字段值

DataObjectAttribute

注解

Default 字段定义用 DataObjectAttribute 构造函数初始化的 DataObjectAttribute 类的实例,该构造函数将 IsDataObject 属性设置为 trueThe Default field defines an instance of the DataObjectAttribute class initialized with the DataObjectAttribute constructor, which sets the IsDataObject property to true.

适用于