CustomTypeDescriptor.GetEditor(Type) 方法

定义

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

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 将调用父级的相应方法。

适用于

另请参阅