DataViewBrowseObject.GetEditor Method

Retrieves an editor for the specified base type and for the current browse object.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'宣言
Public Overridable Function GetEditor ( _
    editorBaseType As Type _
) As Object
'使用
Dim instance As DataViewBrowseObject
Dim editorBaseType As Type
Dim returnValue As Object

returnValue = instance.GetEditor(editorBaseType)
public virtual Object GetEditor(
    Type editorBaseType
)
public:
virtual Object^ GetEditor(
    Type^ editorBaseType
)
public function GetEditor(
    editorBaseType : Type
) : Object

Parameters

  • editorBaseType
    Type: System.Type

    A Type representing the base type of the editor to get.

Return Value

Type: System.Object

An instance of the editor that can be cast to the specified editor type, or a null reference (Nothing in Visual Basic) if no editor of the requested type can be found.

Implements

ICustomTypeDescriptor.GetEditor(Type)

Permissions

See Also

Reference

DataViewBrowseObject Class

DataViewBrowseObject Members

Microsoft.VisualStudio.Data.Framework Namespace