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 ()

注解

每当发生事件时,都会调用此方法 ChangedThis 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.

适用于

另请参阅