DataObjectAttribute.NonDataObject Field


Indicates that the class is not suitable for binding to an ObjectDataSource object at design time. This field is read-only.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public static readonly DataObjectAttribute NonDataObject

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

.NET Framework
Available since 2.0
Return to top