IVsDebugger.AllowEditsWhileDebugging Method
Indicates whether or not the language service allows writing to files during debugging.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'宣言
Function AllowEditsWhileDebugging ( _
ByRef guidLanguageService As Guid _
) As Integer
'使用
Dim instance As IVsDebugger
Dim guidLanguageService As Guid
Dim returnValue As Integer
returnValue = instance.AllowEditsWhileDebugging(guidLanguageService)
int AllowEditsWhileDebugging(
ref Guid guidLanguageService
)
int AllowEditsWhileDebugging(
Guid% guidLanguageService
)
function AllowEditsWhileDebugging(
guidLanguageService : Guid
) : int
Parameters
guidLanguageService
Type: System.Guid%[in] The GUID of the language service, such as SID_SVisualBasicLangService.
Return Value
Type: System.Int32
Returns S_OK if writing allowed, S_FALSE if not.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsDebugger::AllowEditsWhileDebugging(
REFGUID guidLanguageService
);
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.