DkmManagedHeapSampler.GetSegments Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.