Gets an editor of the specified type.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public Overrides Function GetEditor ( _
editorBaseType As Type _
) As Object
'使用
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
public override function GetEditor(
editorBaseType : Type
) : Object
Parameters
editorBaseType
Type: System.TypeThe type of the editor.
Return Value
Type: System.Object
The editor, or a null reference (Nothing in Visual Basic) if it cannot be found.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DesignPropertyDescriptor Class