ICustomTypeDescriptor.GetEditor(Type) Metodo

Definizione

Restituisce un editor del tipo specificato per questa istanza di un componente.

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

Parametri

editorBaseType
Type

Oggetto Type che rappresenta l'editor per questo oggetto.

Restituisce

Oggetto Object del tipo specificato che costituisce l'editor per questo oggetto oppure null se l'editor non è stato trovato.

Commenti

Il tipo del editorBaseType parametro è in genere UITypeEditor, ma è anche possibile usare altri tipi , ad esempio ComponentEditor e InstanceCreationEditor.

Si applica a

Vedi anche