[Supported in the .NET Framework 4.5.1 and later versions]
Indicates whether the next blocking garbage collection compacts the large object heap (LOH).
Assembly: mscorlib (in mscorlib.dll)
The value of the GCSettings.LargeObjectHeapCompactionMode property is a member of the enumeration that indicates whether the next full blocking garbage collection also compacts the large object heap (LOH). By default, the LOH is not compacted. A value of indicates that the blocking garbage collection will compact the LOH. After the garbage collection, the value of the GCSettings.LargeObjectHeapCompactionMode property reverts to .