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

DataSetFieldSchema Class

Note: This class is new in the .NET Framework version 2.0.

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
public final class DataSetFieldSchema implements IDataSourceFieldSchema
public final class DataSetFieldSchema implements 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.

System.Object
  System.Web.UI.Design.DataSetFieldSchema
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 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

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

.NET Framework

Supported in: 2.0
Show:
© 2014 Microsoft. All rights reserved.