共用方式為


IVsDebugger.RemoveBreakpointsByName(Guid, String) Method

Definition

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

public:
 int RemoveBreakpointsByName(Guid % guidLanguage, System::String ^ pszCodeLocationText);
public int RemoveBreakpointsByName (ref Guid guidLanguage, string pszCodeLocationText);
abstract member RemoveBreakpointsByName : Guid * string -> int
Public Function RemoveBreakpointsByName (ByRef guidLanguage As Guid, pszCodeLocationText As String) As Integer

Parameters

guidLanguage
Guid

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

pszCodeLocationText
String

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

Returns

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  
);  

Applies to