Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IDataSourceFieldSchema Interface
Collapse the table of content
Expand the table of content

IDataSourceFieldSchema Interface

Provides basic functionality for describing the structure of a data field at design time.

Namespace:  System.Web.UI.Design
Assembly:  System.Design (in System.Design.dll)

Public Interface IDataSourceFieldSchema

The IDataSourceFieldSchema type exposes the following members.

Public propertyDataTypeGets the type of data stored in the field.
Public propertyIdentityGets a value indicating whether the value of the field automatically increments for each new row.
Public propertyIsReadOnlyGets a value indicating whether the field is editable.
Public propertyIsUniqueGets a value indicating whether values in the field are required to be unique.
Public propertyLengthGets a value indicting the size of data that can be stored in the field.
Public propertyNameGets the name of the field.
Public propertyNullableGets a value indicating whether the field can accept Nothing values.
Public propertyPrecisionGets the maximum number of digits used to represent a numerical value in the field.
Public propertyPrimaryKeyGets a value indicating whether the field is in the primary key.
Public propertyScaleGets the number of decimal places to which numerical values in the field are resolved.

The IDataSourceFieldSchema interface allows a class to implement a set of properties that describe a field in a data source. The DataSetFieldSchema class implements the IDataSourceFieldSchema interface.

Classes that implement the IDataSourceFieldSchema are used by custom control designer components to provide lists of data source fields and properties for data-bound controls at design time.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
© 2015 Microsoft