HtmlControlDesigner.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:
 virtual void OnBindingsCollectionChanged(System::String ^ propName);
protected virtual 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 virtual void OnBindingsCollectionChanged (string propName);
abstract member OnBindingsCollectionChanged : string -> unit
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")>]
abstract member OnBindingsCollectionChanged : string -> unit
override this.OnBindingsCollectionChanged : string -> unit
Protected Overridable Sub OnBindingsCollectionChanged (propName As String)

参数

propName
String

已更改的属性名。

属性

注解

OnBindingsCollectionChanged 控件设计器更改控件的数据绑定后,控件设计器应调用 方法。

注意

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

继承者说明

OnBindingsCollectionChanged(String)可以重写并实现 方法,以便在控件的数据绑定集合发生更改时执行其他处理。

适用于

另请参阅