次の方法で共有


IVsDebugger4.EnumCurrentlyDebuggingProjects(IEnumHierarchies) Method

Definition

Returns the set of projects that have been launched through a debugger launch (F5) and that the debugger is currently debugging.

public:
 void EnumCurrentlyDebuggingProjects([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumHierarchies ^ % projects);
public:
 void EnumCurrentlyDebuggingProjects([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumHierarchies ^ &  projects);
void EnumCurrentlyDebuggingProjects([Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IEnumHierarchies const & & projects);
public void EnumCurrentlyDebuggingProjects (out Microsoft.VisualStudio.Shell.Interop.IEnumHierarchies projects);
abstract member EnumCurrentlyDebuggingProjects : IEnumHierarchies -> unit
Public Sub EnumCurrentlyDebuggingProjects (ByRef projects As IEnumHierarchies)

Parameters

projects
IEnumHierarchies

The set of projects that have been launched.

Remarks

This method does not support scenarios where the user attached to the project.

Projects will only be returned if they were launched through LaunchDebugTargets4, and only if the project provided its IVsHierarchy in the project member of the VsDebugTargetInfo4 structure.

Applies to