ICustomTypeDescriptor.GetEditor(Type) メソッド

定義

コンポーネントのこのインスタンスの指定した型のエディターを返します。

public:
 System::Object ^ GetEditor(Type ^ editorBaseType);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Design-time attributes are not preserved when trimming. Types referenced by attributes like EditorAttribute and DesignerAttribute may not be available after trimming.")]
public object? GetEditor(Type editorBaseType);
public object GetEditor(Type editorBaseType);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Editors registered in TypeDescriptor.AddEditorTable may be trimmed.")]
public object? GetEditor(Type editorBaseType);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Design-time attributes are not preserved when trimming. Types referenced by attributes like EditorAttribute and DesignerAttribute may not be available after trimming.")>]
abstract member GetEditor : Type -> obj
abstract member GetEditor : Type -> obj
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Editors registered in TypeDescriptor.AddEditorTable may be trimmed.")>]
abstract member GetEditor : Type -> obj
Public Function GetEditor (editorBaseType As Type) As Object

パラメーター

editorBaseType
Type

このオブジェクトのエディターを表す Type

返品

このオブジェクトのエディターである指定した型の Object 。エディターが見つからない場合は null

属性

注釈

editorBaseType パラメーターの型は通常UITypeEditorされますが、他の型 (ComponentEditorInstanceCreationEditorなど) を使用することもできます。

適用対象

こちらもご覧ください