GCMemoryInfo.Index Property

Definition

Gets the index of this GC.

public:
 property long Index { long get(); };
public long Index { get; }
member this.Index : int64
Public ReadOnly Property Index As Long

Property Value

The index of this GC.

Remarks

GC indices start with 1 and are increased at the beginning of a GC. Since the information is updated at the end of a GC, this means you can get the information for a background GC with a smaller index than a foreground GC that finished earlier.

Applies to