Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.5.1, 4.5, 4, 3.5, 3.0, 2.0

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.