IDkmManagedHeapSampler.GetRoots(DkmManagedHeapSampler) 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.
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.