Freezable.OnChanged 方法

定義

目前的 Freezable 物件遭到修改時進行呼叫。Called when the current Freezable object is modified.

protected:
 virtual void OnChanged();
protected virtual void OnChanged ();
abstract member OnChanged : unit -> unit
override this.OnChanged : unit -> unit
Protected Overridable Sub OnChanged ()

備註

每當發生 Changed 事件時,就會呼叫這個方法。This method is called whenever the Changed event occurs.

給繼承者的注意事項

當您執行衍生自 Freezable的類別時,您可以覆寫這個方法來執行工作。When you implement a class that derives from Freezable, you may override this method to perform tasks.

適用於

另請參閱