Compartir a través de


IVsDebugger.RemoveBreakpointsByName Method

Removes a breakpoint at a named location in the program, such as a function name.

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

Syntax

'Declaration
Function RemoveBreakpointsByName ( _
    ByRef guidLanguage As Guid, _
    pszCodeLocationText As String _
) As Integer
int RemoveBreakpointsByName(
    ref Guid guidLanguage,
    string pszCodeLocationText
)
int RemoveBreakpointsByName(
    [InAttribute] Guid% guidLanguage, 
    [InAttribute] String^ pszCodeLocationText
)
abstract RemoveBreakpointsByName : 
        guidLanguage:Guid byref * 
        pszCodeLocationText:string -> int
function RemoveBreakpointsByName(
    guidLanguage : Guid, 
    pszCodeLocationText : String
) : int

Parameters

  • guidLanguage
    Type: Guid%

    [in] The GUID for the language service such as SID_SVisualBasicLangService.

  • pszCodeLocationText
    Type: String

    [in] String containing the name of the location to set the breakpoint.

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 IVsDebugger::RemoveBreakpointsByName(
   [in] REFGUID guidLanguage,
   [in] LPCOLESTR pszCodeLocationText
);

.NET Framework Security

See Also

Reference

IVsDebugger Interface

Microsoft.VisualStudio.Shell.Interop Namespace