CustomTypeDescriptor 类
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供 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
- 派生
- 实现
与 TypeDescriptionProvider一样,CustomTypeDescriptor 类依赖于在构造期间提供的 ICustomTypeDescriptor 类型的父对象。 这允许派生自 CustomTypeDescriptor 的类有选择地替代方法。
Custom |
初始化 CustomTypeDescriptor 类的新实例。 |
Custom |
使用父自定义类型描述符初始化 CustomTypeDescriptor 类的新实例。 |
Require |
获取一个值,该值指示是否需要通过 RegisterType<T>()注册类型。 |
Equals(Object) |
确定指定的对象是否等于当前对象。 (继承自 Object) |
Get |
返回此类型描述符所表示类型的自定义属性集合。 |
Get |
返回此类型描述符所表示的类的完全限定名。 |
Get |
返回此类型描述符表示的类的名称。 |
Get |
返回此类型描述符所表示的类型的类型转换器。 |
Get |
返回此类型的类型转换器 描述符表示。 |
Get |
返回此类型描述符表示的对象的默认事件的事件描述符。 |
Get |
返回此类型描述符表示的对象的默认属性的属性描述符。 |
Get |
返回要与此类型描述符表示的类关联的指定类型的编辑器。 |
Get |
返回此类型描述符表示的对象的事件描述符集合。 |
Get |
返回由此类型描述符表示的对象的事件描述符的筛选集合。 |
Get |
返回事件描述符的集合 表示此类型描述符的对象。 |
Get |
用作默认哈希函数。 (继承自 Object) |
Get |
返回由此类型描述符表示的对象的属性描述符的集合。 |
Get |
返回由此类型描述符表示的对象的属性描述符的筛选集合。 |
Get |
返回属性描述符的集合 表示此类型描述符的对象。 |
Get |
返回一个对象,该对象包含指定属性描述符描述符描述的属性。 |
Get |
获取当前实例的 Type。 (继承自 Object) |
Memberwise |
创建当前 Object的浅表副本。 (继承自 Object) |
To |
返回一个表示当前对象的字符串。 (继承自 Object) |
产品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |