Share via


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 已過時。 針對對等控制項設計工具功能, ChangedDataBindings 在集合上使用 事件。

給繼承者的注意事項

OnBindingsCollectionChanged(String)方法可以覆寫並實作,以在控制項的資料系結集合變更時執行其他處理。

適用於

另請參閱