Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Returns information about a project's debugging targets.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function QueryDebugTargets ( _
grfLaunch As UInteger, _
cTargets As UInteger, _
<OutAttribute> rgDebugTargetInfo As VsDebugTargetInfo2(), _
<OutAttribute> pcActual As UInteger() _
) As Integer
int QueryDebugTargets(
uint grfLaunch,
uint cTargets,
VsDebugTargetInfo2[] rgDebugTargetInfo,
uint[] pcActual
)
int QueryDebugTargets(
[InAttribute] unsigned int grfLaunch,
[InAttribute] unsigned int cTargets,
[OutAttribute] array<VsDebugTargetInfo2>^ rgDebugTargetInfo,
[OutAttribute] array<unsigned int>^ pcActual
)
abstract QueryDebugTargets :
grfLaunch:uint32 *
cTargets:uint32 *
rgDebugTargetInfo:VsDebugTargetInfo2[] byref *
pcActual:uint32[] byref -> int
function QueryDebugTargets(
grfLaunch : uint,
cTargets : uint,
rgDebugTargetInfo : VsDebugTargetInfo2[],
pcActual : uint[]
) : int
Parameters
grfLaunch
Type: System.UInt32[in] Integer containing bit flags representing options for launching the debugger. Constructed from values in the __VSDBGLAUNCHFLAGS enumeration.
cTargets
Type: System.UInt32[in] Integer. The maximum number of debug targets—the length of the rgDebugTargetInfo array.
rgDebugTargetInfo
Type: array<Microsoft.VisualStudio.Shell.Interop.VsDebugTargetInfo2[][out] Array of VsDebugTargetInfo2 structures representing debug targets.
pcActual
Type: array<System.UInt32[][out] Pointer to an integer. The number of debug targets found and returned in rgDebugTargetInfo.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
[C++]
HRESULT IVsQueryDebuggableProjectCfg::QueryDebugTargets(
[in] VSDBGLAUNCHFLAGS grfLaunch,
[in] ULONG cTargets,
[in, out, size_is(cTargets)] VsDebugTargetInfo2 rgDebugTargetInfo[],
[out, optional] ULONG *pcActual
);
.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.