DataSetFieldSchema Class (System.Web.UI.Design)

Switch View :
ScriptFree
.NET Framework Class Library
DataSetFieldSchema Class

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

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

Visual Basic (Declaration)
Public NotInheritable Class DataSetFieldSchema _
	Implements IDataSourceFieldSchema
Visual Basic (Usage)
Dim instance As DataSetFieldSchema
C#
public sealed class DataSetFieldSchema : IDataSourceFieldSchema
Visual C++
public ref class DataSetFieldSchema sealed : IDataSourceFieldSchema
JScript
public final class DataSetFieldSchema implements IDataSourceFieldSchema
Remarks

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.

Inheritance Hierarchy

System.Object
  System.Web.UI.Design.DataSetFieldSchema
Thread Safety

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

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.
Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0
See Also

Reference

Other Resources