IVsQueryDebuggableProjectCfg2.QueryDebugTargets Method
Retrieves information about a project's debugging targets.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
Sub QueryDebugTargets ( _
grfLaunch As UInteger, _
cTargets As UInteger, _
<OutAttribute> rgDebugTargetInfo As VsDebugTargetInfo4(), _
<OutAttribute> pcActual As UInteger() _
)
void QueryDebugTargets(
uint grfLaunch,
uint cTargets,
VsDebugTargetInfo4[] rgDebugTargetInfo,
uint[] pcActual
)
void QueryDebugTargets(
[InAttribute] unsigned int grfLaunch,
[InAttribute] unsigned int cTargets,
[OutAttribute] array<VsDebugTargetInfo4>^ rgDebugTargetInfo,
[OutAttribute] array<unsigned int>^ pcActual
)
abstract QueryDebugTargets :
grfLaunch:uint32 *
cTargets:uint32 *
rgDebugTargetInfo:VsDebugTargetInfo4[] byref *
pcActual:uint32[] byref -> unit
function QueryDebugTargets(
grfLaunch : uint,
cTargets : uint,
rgDebugTargetInfo : VsDebugTargetInfo4[],
pcActual : uint[]
)
Parameters
grfLaunch
Type: UInt32[in] Bit flags representing options for launching the debugger. Constructed from values in the __VSDBGLAUNCHFLAGS6 enumeration.
cTargets
Type: UInt32[in] The maximum number of debug targets—the length of the rgDebugTargetInfo array.
rgDebugTargetInfo
Type: array<Microsoft.VisualStudio.Shell.Interop.VsDebugTargetInfo4[][in, out, size_is(cTargets)] Array of VsDebugTargetInfo4 structures representing debug targets.
pcActual
Type: array<UInt32[][out, optional] The number of debug targets found and returned in rgDebugTargetInfo.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.