DataObjectAttribute.NonDataObject Field

Definition

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 

Field Value

Remarks

The NonDataObject field returns a new DataObjectAttribute object with the IsDataObject property set to false.

Applies to