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當資料綁定集合被外部呼叫者更改時,該方法即被呼叫。
Note
這種 OnBindingsCollectionChanged 方法已經過時了。 在集合中使用 Changed 事件 DataBindings ,以獲得相當的控制設計功能。