Uredi

Deli z drugimi prek


DataSetViewSchema Class

Definition

Represents the structure, or schema, of a DataTable. This class cannot be inherited.

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

Remarks

Use the DataSetViewSchema class to list the structure of data using a DataTable at design time. Use the GetFields method to get a list of information about each field as DataColumn objects.

The DataSetViewSchema class is used by custom control designer components to provide UI options to the user at design time that accurately reflect the structure of the data.

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

Constructors

DataSetViewSchema(DataTable)

Creates an instance of the DataSetViewSchema class using a specified DataTable.

Properties

Name

Gets the name of the view using its TableName property.

Methods

Equals(Object)

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

(Inherited from Object)
GetChildren()

Gets an array representing the child views contained in the current view.

GetFields()

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

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
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