ControlDesigner.OnBindingsCollectionChanged(String) 方法

定义

注意

The recommended alternative is to handle the Changed event on the DataBindings collection. The DataBindings collection allows more control of the databindings associated with the control. http://go.microsoft.com/fwlink/?linkid=14202

在数据绑定集合发生更改时调用。

protected:
 override void OnBindingsCollectionChanged(System::String ^ propName);
protected override void OnBindingsCollectionChanged (string propName);
[System.Obsolete("The recommended alternative is to handle the Changed event on the DataBindings collection. The DataBindings collection allows more control of the databindings associated with the control. http://go.microsoft.com/fwlink/?linkid=14202")]
protected override void OnBindingsCollectionChanged (string propName);
override this.OnBindingsCollectionChanged : string -> unit
[<System.Obsolete("The recommended alternative is to handle the Changed event on the DataBindings collection. The DataBindings collection allows more control of the databindings associated with the control. http://go.microsoft.com/fwlink/?linkid=14202")>]
override this.OnBindingsCollectionChanged : string -> unit
Protected Overrides Sub OnBindingsCollectionChanged (propName As String)

参数

propName
String

要测试其绑定集合中的更改的属性。

属性

注解

OnBindingsCollectionChanged当外部调用方更改了数据绑定集合时,将调用 方法。

注意

方法 OnBindingsCollectionChanged 已过时。 Changed对 集合使用 事件DataBindings以获取等效的控件设计器功能。

适用于

另请参阅