CustomTypeDescriptor 类

定义

提供 ICustomTypeDescriptor 接口的简单默认实现。

public ref class CustomTypeDescriptor abstract : System::ComponentModel::ICustomTypeDescriptor
public abstract class CustomTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor
type CustomTypeDescriptor = class
    interface ICustomTypeDescriptor
Public MustInherit Class CustomTypeDescriptor
Implements ICustomTypeDescriptor
继承
CustomTypeDescriptor
派生
实现

注解

与 一样 TypeDescriptionProviderCustomTypeDescriptor 类依赖于在构造过程中提供的 类型的 ICustomTypeDescriptor 父对象。 这允许派生自 CustomTypeDescriptor 的类选择性地替代方法。

构造函数

CustomTypeDescriptor()

初始化 CustomTypeDescriptor 类的新实例。

CustomTypeDescriptor(ICustomTypeDescriptor)

使用父级自定义类型说明符初始化 CustomTypeDescriptor 类的新实例。

方法

Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GetAttributes()

返回此类型说明符表示的类型的自定义特性集合。

GetClassName()

返回由此类型描述符表示的类的完全限定名。

GetComponentName()

返回此类型说明符表示的类的名称。

GetConverter()

返回此类型说明符表示的类型的类型转换器。

GetDefaultEvent()

返回此类型说明符表示的对象的默认事件的事件说明符。

GetDefaultProperty()

返回此类型说明符表示的对象的默认属性的属性描述符。

GetEditor(Type)

返回要与此类型说明符表示的类关联的指定类型的编辑器。

GetEvents()

返回此类型说明符所表示对象的事件说明符的集合。

GetEvents(Attribute[])

返回此类型说明符所表示的对象的已筛选事件说明符集合。

GetHashCode()

作为默认哈希函数。

(继承自 Object)
GetProperties()

返回此类型说明符所表示对象的属性说明符的集合。

GetProperties(Attribute[])

返回此类型说明符所表示的对象的已筛选属性描述符的集合。

GetPropertyOwner(PropertyDescriptor)

返回一个对象,该对象包含指定的属性描述符所描述的属性。

GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
ToString()

返回表示当前对象的字符串。

(继承自 Object)

适用于

另请参阅