IVsDebugger.AllowEditsWhileDebugging 方法

指示语言服务在调试期间,是否允许写入文件。

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

语法

声明
Function AllowEditsWhileDebugging ( _
    ByRef guidLanguageService As Guid _
) As Integer
int AllowEditsWhileDebugging(
    ref Guid guidLanguageService
)

参数

  • guidLanguageService
    类型:System.Guid%
     [in] 语言服务的 GUID,例如 SID_SVisualBasicLangService。

返回值

类型:System.Int32
返回 S_OK ,如果允许的脚本, S_FALSE ,如果没有。

备注

COM 签名

从 vsshell.idl:

HRESULT IVsDebugger::AllowEditsWhileDebugging(
   REFGUID guidLanguageService
);

.NET Framework 安全性

请参见

参考

IVsDebugger 接口

Microsoft.VisualStudio.Shell.Interop 命名空间