Share via


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

Return Value

Type: System. . :: . .UInt32
The amount of free (unused) memory, in bytes.

.NET Framework Security

See Also

Reference

Debug Class

Microsoft.SPOT Namespace