共用方式為


EditingContext.Disposing 事件

定義

呼叫 Dispose() 方法時,或是終結 EditingContext 物件,並由 Microsoft .NET Common Language Runtime 的回收記憶體收集時,即會發生。

public:
 event EventHandler ^ Disposing;
public event EventHandler Disposing;
member this.Disposing : EventHandler 
Public Custom Event Disposing As EventHandler 
Public Event Disposing As EventHandler 

事件類型

適用於