CustomTypeDescriptor.GetEditor(Type) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回要与此类型说明符表示的类关联的指定类型的编辑器。
public:
virtual System::Object ^ GetEditor(Type ^ editorBaseType);
public virtual object GetEditor (Type editorBaseType);
public virtual object? GetEditor (Type editorBaseType);
abstract member GetEditor : Type -> obj
override this.GetEditor : Type -> obj
Public Overridable Function GetEditor (editorBaseType As Type) As Object
参数
- editorBaseType
- Type
要检索的编辑器的基类型。
返回
要与此类型说明符表示的类关联的给定类型的编辑器。 默认值为 null
。
实现
注解
如果将父自定义类型描述符传递到构造函数中 CustomTypeDescriptor ,该方法 GetEditor 将调用父级的相应方法。
适用于
另请参阅
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈