Delen via


DataViewBrowseObject.SetEditor Method

Sets or removes the editor for the current browse object.

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

Syntax

'Declaration
Public Sub SetEditor ( _
    editorBaseType As Type, _
    value As Object _
)
public void SetEditor(
    Type editorBaseType,
    Object value
)
public:
void SetEditor(
    Type^ editorBaseType, 
    Object^ value
)
member SetEditor : 
        editorBaseType:Type * 
        value:Object -> unit
public function SetEditor(
    editorBaseType : Type, 
    value : Object
)

Parameters

  • editorBaseType
    Type: System.Type

    A Type representing the base type of the editor.

  • value
    Type: System.Object

    The editor to set, or nulla null reference (Nothing in Visual Basic) to remove the editor based on its type.

.NET Framework Security

See Also

Reference

DataViewBrowseObject Class

Microsoft.VisualStudio.Data.Framework Namespace