ICustomTypeDescriptor.GetEditor Method (Type)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

Function GetEditor (
	editorBaseType As Type
) As Object

Parameters

editorBaseType
Type: System.Type

A Type that represents the editor for this object.

Return Value

Type: System.Object

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

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

.NET Framework
Available since 1.1
Return to top
Show: