ICustomTypeDescriptor.GetEditor(Type) Método

Definición

Devuelve un editor del tipo especificado para esta instancia de un componente.

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

Parámetros

editorBaseType
Type

Type que representa el editor de este objeto.

Devoluciones

del Object tipo especificado que es el editor de este objeto o null si no se encuentra el editor.

Atributos

Comentarios

El tipo del editorBaseType parámetro suele UITypeEditorser , pero también puede usar otros tipos (por ejemplo, ComponentEditor y InstanceCreationEditor).

Se aplica a

Consulte también