PeerObject.Dispose メソッド
定義
PeerObject によって使用されているすべてのリソースを解放します。Releases all resources utilized by the PeerObject.
オーバーロード
Dispose() |
PeerObject によって使用されているすべてのリソースを解放します。Releases all resources utilized by the PeerObject. |
Dispose(Boolean) |
PeerObject によって使用されているアンマネージド リソースを解放し、オプションでマネージド リソースも解放します。Releases the unmanaged resources used by the PeerObject and optionally releases the managed resources. |
Dispose()
PeerObject によって使用されているすべてのリソースを解放します。Releases all resources utilized by the PeerObject.
public:
virtual void Dispose();
[System.Security.SecurityCritical]
public void Dispose ();
[<System.Security.SecurityCritical>]
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()
実装
- 属性
適用対象
Dispose(Boolean)
PeerObject によって使用されているアンマネージド リソースを解放し、オプションでマネージド リソースも解放します。Releases the unmanaged resources used by the PeerObject and optionally releases the managed resources.
protected:
virtual void Dispose(bool disposing);
[System.Security.SecurityCritical]
protected virtual void Dispose (bool disposing);
[<System.Security.SecurityCritical>]
abstract member Dispose : bool -> unit
override this.Dispose : bool -> unit
Protected Overridable Sub Dispose (disposing As Boolean)
パラメーター
- disposing
- Boolean
マネージド リソースとアンマネージド リソースの両方を解放する場合は true
に設定し、アンマネージド リソースだけを解放する場合は false
に設定します。Set to true
to release both managed and unmanaged resources; false
to release only unmanaged resources.
- 属性