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
'宣言
Public Sub SetEditor ( _
editorBaseType As Type, _
value As Object _
)
'使用
Dim instance As DataViewBrowseObject
Dim editorBaseType As Type
Dim value As Object
instance.SetEditor(editorBaseType, value)
public void SetEditor(
Type editorBaseType,
Object value
)
public:
void SetEditor(
Type^ editorBaseType,
Object^ value
)
public function SetEditor(
editorBaseType : Type,
value : Object
)
Parameters
editorBaseType
Type: System.TypeA Type representing the base type of the editor.
value
Type: System.ObjectThe editor to set, or a null reference (Nothing in Visual Basic) to remove the editor based on its type.
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.