Share via


IVsDebugLaunch.DebugLaunch Method

Launches the debugger.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function DebugLaunch ( _
    grfLaunch As UInteger _
) As Integer
int DebugLaunch(
    uint grfLaunch
)
int DebugLaunch(
    [InAttribute] unsigned int grfLaunch
)
abstract DebugLaunch : 
        grfLaunch:uint32 -> int
function DebugLaunch(
    grfLaunch : uint
) : int

Parameters

  • grfLaunch
    Type: UInt32

    [in] Bit flags, representing launch options, formed using values from the __VSDBGLAUNCHFLAGS enumeration.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsDebugLaunch::DebugLaunch(
   [in] VSDBGLAUNCHFLAGS grfLaunch
);

.NET Framework Security

See Also

Reference

IVsDebugLaunch Interface

Microsoft.VisualStudio.Shell.Interop Namespace