BindingContext.Add(Object, BindingManagerBase) 方法

定义

向集合添加与特定数据源关联的 BindingManagerBaseAdds the BindingManagerBase associated with a specific data source to the collection.

protected public:
 void Add(System::Object ^ dataSource, System::Windows::Forms::BindingManagerBase ^ listManager);
protected internal void Add (object dataSource, System.Windows.Forms.BindingManagerBase listManager);
member this.Add : obj * System.Windows.Forms.BindingManagerBase -> unit
Protected Friend Sub Add (dataSource As Object, listManager As BindingManagerBase)

参数

dataSource
Object

Object 关联的 BindingManagerBaseThe Object associated with the BindingManagerBase.

listManager
BindingManagerBase

要添加的 BindingManagerBaseThe BindingManagerBase to add.

适用于