ICustomTypeDescriptor.GetEditor(Type) 方法

定義

傳回元件的這個執行個體之指定類型編輯器。

public:
 System::Object ^ GetEditor(Type ^ editorBaseType);
public object GetEditor (Type editorBaseType);
public object? GetEditor (Type editorBaseType);
abstract member GetEditor : Type -> obj
Public Function GetEditor (editorBaseType As Type) As Object

參數

editorBaseType
Type

表示此物件編輯器的 Type

傳回

為此物件之編輯器的指定類型 Object,如果找不到編輯器,則為 null

備註

參數的類型 editorBaseType 通常是 UITypeEditor ,但您也可以使用其他類型的 (,例如 和 ComponentEditorInstanceCreationEditor) 。

適用於

另請參閱