共用方式為


CollectionViewSource.OnSourceChanged(Object, Object) 方法

定義

Source 屬性變更時叫用。

protected:
 virtual void OnSourceChanged(System::Object ^ oldSource, System::Object ^ newSource);
protected virtual void OnSourceChanged (object oldSource, object newSource);
abstract member OnSourceChanged : obj * obj -> unit
override this.OnSourceChanged : obj * obj -> unit
Protected Overridable Sub OnSourceChanged (oldSource As Object, newSource As Object)

參數

oldSource
Object

Source 屬性的舊值。

newSource
Object

Source 屬性的新值。

適用於