Bagikan melalui


GlobalObject.CollectGarbage Metode

Definisi

Memanggil pengumpul sampah.

API ini mendukung infrastruktur produk dan tidak dimaksudkan untuk digunakan langsung dari kode Anda.

public:
 static void CollectGarbage();
[Microsoft.JScript.JSFunction((Microsoft.JScript.JSFunctionAttributeEnum) 0, Microsoft.JScript.JSBuiltin.Global_CollectGarbage)]
public static void CollectGarbage ();
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.None, Microsoft.JScript.JSBuiltin.Global_CollectGarbage)]
public static void CollectGarbage ();
[<Microsoft.JScript.JSFunction((Microsoft.JScript.JSFunctionAttributeEnum) 0, Microsoft.JScript.JSBuiltin.Global_CollectGarbage)>]
static member CollectGarbage : unit -> unit
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.None, Microsoft.JScript.JSBuiltin.Global_CollectGarbage)>]
static member CollectGarbage : unit -> unit
Public Shared Sub CollectGarbage ()
Atribut

Berlaku untuk

Lihat juga