TypeSchema 类

定义

表示对象类型的结构(或架构)。Represents the structure, or schema, of an object type.

public ref class TypeSchema sealed : System::Web::UI::Design::IDataSourceSchema
public sealed class TypeSchema : System.Web.UI.Design.IDataSourceSchema
type TypeSchema = class
    interface IDataSourceSchema
Public NotInheritable Class TypeSchema
Implements IDataSourceSchema
继承
TypeSchema
实现

注解

TypeSchema类提供有关特定类的信息 (给定该类的实例)。The TypeSchema class provides information about a particular class, given an instance of that class. 例如, 给定DataSet对象GridView 、对象或你创建的自定义类的实例, 这些方法和属性提供有关该对象派生自的类的信息。For example, given a DataSet object, a GridView object, or an instance of a custom class that you create, the methods and properties provide information about the class from which the object derives. 它不提供有关特定实例的信息, 而不提供有关类的信息。It does not provide information about the specific instance, but about the class.

自定义控件设计器使用类来帮助准备用于预览自定义控件的示例数据。TypeSchemaThe TypeSchema class is used by custom control designers to assist in preparing sample data for previewing custom controls.

构造函数

TypeSchema(Type)

使用提供的 TypeSchema 对象创建 Type 类的新实例。Creates a new instance of the TypeSchema class using the provided Type object.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
GetViews()

获取架构说明符的数组来查看数据源。Gets an array of schema descriptors for views into a data source.

MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于

另请参阅