Export (0) Print
Expand All

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.

  NameDescription
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 null 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.
Top

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, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

ADD
Show:
© 2014 Microsoft