共用方式為


DataViewBrowseObject.SetEditor(Type, Object) Method

Definition

Sets or removes the editor for the current browse object.

public:
 void SetEditor(Type ^ editorBaseType, System::Object ^ value);
public void SetEditor (Type editorBaseType, object value);
member this.SetEditor : Type * obj -> unit
Public Sub SetEditor (editorBaseType As Type, value As Object)

Parameters

editorBaseType
Type

A Type representing the base type of the editor.

value
Object

The editor to set, or null to remove the editor based on its type.

Applies to