PropertyDescriptor.GetEditor(Type) Método

Definición

Obtiene un editor del tipo especificado.

public:
 virtual 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. PropertyDescriptor's PropertyType cannot be statically discovered.")]
public virtual object? GetEditor(Type editorBaseType);
public virtual object GetEditor(Type editorBaseType);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Editors registered in TypeDescriptor.AddEditorTable may be trimmed. PropertyDescriptor's PropertyType cannot be statically discovered.")]
public virtual 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. PropertyDescriptor's PropertyType cannot be statically discovered.")>]
abstract member GetEditor : Type -> obj
override this.GetEditor : Type -> obj
abstract member GetEditor : Type -> obj
override this.GetEditor : Type -> obj
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Editors registered in TypeDescriptor.AddEditorTable may be trimmed. PropertyDescriptor's PropertyType cannot be statically discovered.")>]
abstract member GetEditor : Type -> obj
override this.GetEditor : Type -> obj
Public Overridable Function GetEditor (editorBaseType As Type) As Object

Parámetros

editorBaseType
Type

Tipo base de editor, que se usa para diferenciar entre varios editores que admite una propiedad.

Devoluciones

Instancia del tipo de editor solicitado o null si no se encuentra un editor.

Atributos

Se aplica a