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 이 개체의 편집기를 나타내는 A입니다.

반품

Object 이 개체의 편집기이거나 null 편집기를 찾을 수 없는 경우 지정된 형식의 형식입니다.

특성

설명

매개 변수의 editorBaseType 형식은 일반적으로 UITypeEditor있지만 다른 형식(예 ComponentEditor : 및 InstanceCreationEditor)을 사용할 수도 있습니다.

적용 대상

추가 정보