ControlDesigner.OnBindingsCollectionChanged(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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 已過時。 針對對等控件設計工具功能,ChangedDataBindings在集合上使用 事件。