GC.GetGCMemoryInfo Method

Definition

Overloads

GetGCMemoryInfo()

Gets garbage collection memory information.

GetGCMemoryInfo(GCKind)

Gets garbage collection memory information.

GetGCMemoryInfo()

Gets garbage collection memory information.

public:
 static GCMemoryInfo GetGCMemoryInfo();
public static GCMemoryInfo GetGCMemoryInfo ();
static member GetGCMemoryInfo : unit -> GCMemoryInfo
Public Shared Function GetGCMemoryInfo () As GCMemoryInfo

Returns

GCMemoryInfo

An object that contains information about the garbage collector's memory usage.

Applies to

Product Introduced

GetGCMemoryInfo(GCKind)

Gets garbage collection memory information.

public:
 static GCMemoryInfo GetGCMemoryInfo(GCKind kind);
public static GCMemoryInfo GetGCMemoryInfo (GCKind kind);
static member GetGCMemoryInfo : GCKind -> GCMemoryInfo
Public Shared Function GetGCMemoryInfo (kind As GCKind) As GCMemoryInfo

Parameters

kind
GCKind

The kind of collection for which to retrieve memory information.

Returns

GCMemoryInfo

An object that contains information about the garbage collector's memory usage.

Applies to

Product Introduced