ICustomTypeDescriptor.GetEditor(Type) Metode

Definisi

Mengembalikan editor dari jenis yang ditentukan untuk instans komponen ini.

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

Parameter

editorBaseType
Type

yang Type mewakili editor untuk objek ini.

Mengembalikan

Object Jenis yang ditentukan yang merupakan editor untuk objek ini, atau null jika editor tidak dapat ditemukan.

Keterangan

Jenis editorBaseType parameter biasanya UITypeEditor, tetapi Anda juga dapat menggunakan jenis lain (misalnya, ComponentEditor dan InstanceCreationEditor).

Berlaku untuk

Lihat juga