共用方式為


ActiveDirectorySubnet.Dispose 方法

定義

釋放 ActiveDirectorySubnet 物件所使用的全部資源。

多載

Dispose()

釋放 ActiveDirectorySubnet 物件所使用的全部資源。

Dispose(Boolean)

釋放 ActiveDirectorySubnet 物件所使用的 Unmanaged 資源,並選擇性釋放 Managed 資源。

Dispose()

來源:
ActiveDirectorySubnet.cs
來源:
ActiveDirectorySubnet.cs
來源:
ActiveDirectorySubnet.cs

釋放 ActiveDirectorySubnet 物件所使用的全部資源。

public:
 virtual void Dispose();
public void Dispose ();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()

實作

適用於

Dispose(Boolean)

來源:
ActiveDirectorySubnet.cs
來源:
ActiveDirectorySubnet.cs
來源:
ActiveDirectorySubnet.cs

釋放 ActiveDirectorySubnet 物件所使用的 Unmanaged 資源,並選擇性釋放 Managed 資源。

protected:
 virtual void Dispose(bool disposing);
protected virtual void Dispose (bool disposing);
abstract member Dispose : bool -> unit
override this.Dispose : bool -> unit
Protected Overridable Sub Dispose (disposing As Boolean)

參數

disposing
Boolean

如果必須釋出 Managed 資源,則為 true;如果只須釋出 Unmanaged 資源,則為 false

適用於