Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DataSetFieldSchema Class

Represents the structure, or schema, of a data field.

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

public sealed class DataSetFieldSchema : IDataSourceFieldSchema

Use the DataSetFieldSchema class to get the properties of a data field using a DataColumn. You can discover the structure of a data field by using the following properties in this class: DataType, IsReadOnly, Length, Name, and IsUnique. In addition, you can use the Identity property to determine if a data column is set for AutoIncrement, or the PrimaryKey property to determine if a data column is in the primary key.

The DataSetFieldSchema class is used by custom control designer components to provide information about a data field at design time.

To examine the components of data using a DataSet, use the following classes.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

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

.NET Framework

Supported in: 3.5, 3.0, 2.0

Community Additions

© 2015 Microsoft