Rediger

Del via


DataSetSchema Class

Definition

The DataSetSchema class represents the structure, or schema, of a data source. This class cannot be inherited.

public ref class DataSetSchema sealed : System::Web::UI::Design::IDataSourceSchema
public sealed class DataSetSchema : System.Web.UI.Design.IDataSourceSchema
type DataSetSchema = class
    interface IDataSourceSchema
Public NotInheritable Class DataSetSchema
Implements IDataSourceSchema
Inheritance
DataSetSchema
Implements

Remarks

Use the DataSetSchema class to list the elements of a data source at design time. This implementation of IDataSourceSchema uses a DataSet to list the views and fields.

The DataSetSchema class is used by custom control designer components to provide lists of views and fields for data-bound controls at design time.

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

Constructors

DataSetSchema(DataSet)

Creates an instance of the DataSetSchema class using a specified DataSet.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetViews()

Gets an array containing information about each view in the data source.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also