Freezable.OnChanged Freezable.OnChanged Freezable.OnChanged Freezable.OnChanged Method

定义

修改当前 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.

适用于

另请参阅