DkmManagedHeapSampler.GetRoots Method

Definition

Returns roots from the sampled heap.

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

This API was introduced in Visual Studio 12 RTM (DkmApiVersion.VS12RTM).

public:
 cli::array <Microsoft::VisualStudio::Debugger::Clr::DkmManagedHeapRootInfo> ^ GetRoots();
public:
 Platform::Array <Microsoft::VisualStudio::Debugger::Clr::DkmManagedHeapRootInfo> ^ GetRoots();
std::Array <Microsoft::VisualStudio::Debugger::Clr::DkmManagedHeapRootInfo> GetRoots();
public Microsoft.VisualStudio.Debugger.Clr.DkmManagedHeapRootInfo[] GetRoots ();
member this.GetRoots : unit -> Microsoft.VisualStudio.Debugger.Clr.DkmManagedHeapRootInfo[]
Public Function GetRoots () As DkmManagedHeapRootInfo()

Returns

[Out] Sampled heap roots.

Applies to