IVsDebugger.RemoveBreakpointsByName 方法

过程中的名为位置移除断点,如函数名。

命名空间:  Microsoft.VisualStudio.Shell.Interop
程序集:  Microsoft.VisualStudio.Shell.Interop(在 Microsoft.VisualStudio.Shell.Interop.dll 中)

语法

声明
Function RemoveBreakpointsByName ( _
    ByRef guidLanguage As Guid, _
    pszCodeLocationText As String _
) As Integer
int RemoveBreakpointsByName(
    ref Guid guidLanguage,
    string pszCodeLocationText
)

参数

  • guidLanguage
    类型:System.Guid%
    [in] 语言服务的 GUID 例如 SID_SVisualBasicLangService。
  • pszCodeLocationText
    类型:System.String
    [in] 字符串包含位置的名称设置断点。

返回值

类型:System.Int32
如果方法成功,则返回 S_OK。如果失败,它会返回一个错误代码。

备注

COM 签名

从 vsshell.idl:

HRESULT IVsDebugger::RemoveBreakpointsByName(
   [in] REFGUID guidLanguage,
   [in] LPCOLESTR pszCodeLocationText
);

.NET Framework 安全性

请参见

参考

IVsDebugger 接口

Microsoft.VisualStudio.Shell.Interop 命名空间