Partager via


DesignPropertyDescriptor.GetEditor Method

Gets an editor of the specified type.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

'Déclaration
Public Overrides Function GetEditor ( _
    editorBaseType As Type _
) As Object
'Utilisation
Dim instance As DesignPropertyDescriptor
Dim editorBaseType As Type
Dim returnValue As Object

returnValue = instance.GetEditor(editorBaseType)
public override Object GetEditor(
    Type editorBaseType
)
public:
virtual Object^ GetEditor(
    Type^ editorBaseType
) override
abstract GetEditor : 
        editorBaseType:Type -> Object 
override GetEditor : 
        editorBaseType:Type -> Object 
public override function GetEditor(
    editorBaseType : Type
) : Object

Parameters

  • editorBaseType
    Type: System.Type
    The type of the editor.

Return Value

Type: System.Object
The editor, or nulla null reference (Nothing in Visual Basic) if it cannot be found.

.NET Framework Security

See Also

Reference

DesignPropertyDescriptor Class

DesignPropertyDescriptor Members

Microsoft.VisualStudio.Shell Namespace