GC Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Runs garbage collection, a service that automatically reclaims unused computer memory.
Namespace: Microsoft.SPOT
Assembly: Microsoft.SPOT.Native (in Microsoft.SPOT.Native.dll)
Syntax
'Declaration
Public Shared Function GC ( _
force As Boolean _
) As UInteger
public static uint GC(
bool force
)
public:
static unsigned int GC(
bool force
)
static member GC :
force:bool -> uint32
public static function GC(
force : boolean
) : uint
Parameters
- force
Type: System. . :: . .Boolean
true if garbage collection should be forced; otherwise, false.
Return Value
Type: System. . :: . .UInt32
The amount of free (unused) memory, in bytes.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.