共用方式為


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)方法可以覆寫並實作,以在控件的數據系結集合變更時執行其他處理。

適用於

另請參閱