Share via


DkmManagedHeapSampler.GetSegments Method

Definition

Gets the list of segments in the heap.

Location constraint: API must be called from an IDE component (component level > 100,000).

This API was introduced in Visual Studio 17 Update 7 (DkmApiVersion.VS17Update7).

public Microsoft.VisualStudio.Debugger.Clr.DkmManagedHeapSegmentInfo[] GetSegments ();
member this.GetSegments : unit -> Microsoft.VisualStudio.Debugger.Clr.DkmManagedHeapSegmentInfo[]
Public Function GetSegments () As DkmManagedHeapSegmentInfo()

Returns

[Out] The list of heap segments.

Applies to