Edit

Share via


ICustomTypeDescriptor.GetEditor(Type) Method

Definition

Returns an editor of the specified type for this instance of a component.

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

Parameters

editorBaseType
Type

A Type that represents the editor for this object.

Returns

An Object of the specified type that is the editor for this object, or null if the editor cannot be found.

Remarks

The type of the editorBaseType parameter is usually UITypeEditor, but you can also use other types (for example, ComponentEditor and InstanceCreationEditor).

Applies to

See also