Share via


IDkmManagedHeapSampler.GetRoots(DkmManagedHeapSampler) Method

Definition

Returns roots from the sampled heap.

public:
 cli::array <Microsoft::VisualStudio::Debugger::Clr::DkmManagedHeapRootInfo> ^ GetRoots(Microsoft::VisualStudio::Debugger::Clr::DkmManagedHeapSampler ^ managedHeapSampler);
public Microsoft.VisualStudio.Debugger.Clr.DkmManagedHeapRootInfo[] GetRoots (Microsoft.VisualStudio.Debugger.Clr.DkmManagedHeapSampler managedHeapSampler);
public Microsoft.VisualStudio.Debugger.Clr.DkmManagedHeapRootInfo[]? GetRoots (Microsoft.VisualStudio.Debugger.Clr.DkmManagedHeapSampler managedHeapSampler);
abstract member GetRoots : Microsoft.VisualStudio.Debugger.Clr.DkmManagedHeapSampler -> Microsoft.VisualStudio.Debugger.Clr.DkmManagedHeapRootInfo[]
Public Function GetRoots (managedHeapSampler As DkmManagedHeapSampler) As DkmManagedHeapRootInfo()

Parameters

managedHeapSampler
DkmManagedHeapSampler

[In] DkmManagedHeapSampler represents a sampler for objects in the managed heap.

Returns

[Out] Sampled heap roots.

Applies to