ListView.Dispose(Boolean) メソッド
定義
protected:
override void Dispose(bool disposing);
protected override void Dispose (bool disposing);
override this.Dispose : bool -> unit
Protected Overrides Sub Dispose (disposing As Boolean)
パラメーター
- disposing
- Boolean
マネージド リソースとアンマネージド リソースの両方を解放する場合は true
。アンマネージド リソースだけを解放する場合は false
。true
to release both managed and unmanaged resources; false
to release only unmanaged resources.
注釈
コンポーネントが不要になった場合は、Dispose メソッドを呼び出します。Call the Dispose method when the component is no longer needed. このメソッドは、コンポーネントがコンテナーから削除され (コンポーネントにサイトがある場合)、dispose イベントがトリガーされます。This method removes the component from its container (if the component has a site) and triggers the dispose event.