CustomTypeDescriptor 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供 ICustomTypeDescriptor 接口的简单默认实现。
public ref class CustomTypeDescriptor abstract : System::ComponentModel::ICustomTypeDescriptorpublic abstract class CustomTypeDescriptor : System.ComponentModel.ICustomTypeDescriptortype CustomTypeDescriptor = class
    interface ICustomTypeDescriptorPublic MustInherit Class CustomTypeDescriptor
Implements ICustomTypeDescriptor- 继承
- 
				CustomTypeDescriptor
- 派生
- 实现
注解
与 TypeDescriptionProvider一样,CustomTypeDescriptor 类依赖于在构造期间提供的 ICustomTypeDescriptor 类型的父对象。 这允许派生自 CustomTypeDescriptor 的类有选择地替代方法。
构造函数
| CustomTypeDescriptor() | 初始化 CustomTypeDescriptor 类的新实例。 | 
| CustomTypeDescriptor(ICustomTypeDescriptor) | 使用父自定义类型描述符初始化 CustomTypeDescriptor 类的新实例。 | 
属性
| RequireRegisteredTypes | 获取一个值,该值指示是否需要通过 RegisterType<T>()注册类型。 | 
方法
| Equals(Object) | 确定指定的对象是否等于当前对象。(继承自 Object) | 
| GetAttributes() | 返回此类型描述符所表示类型的自定义属性集合。 | 
| GetClassName() | 返回此类型描述符所表示的类的完全限定名。 | 
| GetComponentName() | 返回此类型描述符表示的类的名称。 | 
| GetConverter() | 返回此类型描述符所表示的类型的类型转换器。 | 
| GetConverterFromRegisteredType() | 返回此类型的类型转换器 描述符表示。 | 
| GetDefaultEvent() | 返回此类型描述符表示的对象的默认事件的事件描述符。 | 
| GetDefaultProperty() | 返回此类型描述符表示的对象的默认属性的属性描述符。 | 
| GetEditor(Type) | 返回要与此类型描述符表示的类关联的指定类型的编辑器。 | 
| GetEvents() | 返回此类型描述符表示的对象的事件描述符集合。 | 
| GetEvents(Attribute[]) | 返回由此类型描述符表示的对象的事件描述符的筛选集合。 | 
| GetEventsFromRegisteredType() | 返回事件描述符的集合 表示此类型描述符的对象。 | 
| GetHashCode() | 用作默认哈希函数。(继承自 Object) | 
| GetProperties() | 返回由此类型描述符表示的对象的属性描述符的集合。 | 
| GetProperties(Attribute[]) | 返回由此类型描述符表示的对象的属性描述符的筛选集合。 | 
| GetPropertiesFromRegisteredType() | 返回属性描述符的集合 表示此类型描述符的对象。 | 
| GetPropertyOwner(PropertyDescriptor) | 返回一个对象,该对象包含指定属性描述符描述符描述的属性。 | 
| GetType() | 获取当前实例的 Type。(继承自 Object) | 
| MemberwiseClone() | 创建当前 Object的浅表副本。(继承自 Object) | 
| ToString() | 返回一个表示当前对象的字符串。(继承自 Object) |