DataObjectAttribute Constructor (Boolean)
.NET Framework (current version)
Initializes a new instance of the DataObjectAttribute class and indicates whether an object is suitable for binding to an ObjectDataSource object.
Assembly: System (in System.dll)
Parameters
- isDataObject
-
Type:
System::Boolean
true if the object is suitable for binding to an ObjectDataSource object; otherwise, false.
Use the DataObjectAttribute(Boolean) constructor to indicate to a design-time class such as the ObjectDataSourceDesigner class that an object should be excluded from the list of suitable objects for binding to an ObjectDataSource object.
The IsDataObject property is set to the value of the isDataObject parameter.
.NET Framework
Available since 2.0
Available since 2.0
Show: