Condividi tramite


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

'Declaration
Function AllowEditsWhileDebugging ( _
    ByRef guidLanguageService As Guid _
) As Integer
int AllowEditsWhileDebugging(
    ref Guid guidLanguageService
)
int AllowEditsWhileDebugging(
    Guid% guidLanguageService
)
abstract AllowEditsWhileDebugging : 
        guidLanguageService:Guid byref -> int
function AllowEditsWhileDebugging(
    guidLanguageService : Guid
) : int

Parameters

  • guidLanguageService
    Type: Guid%

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

Return Value

Type: Int32
Returns S_OK if writing allowed, S_FALSE if not.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsDebugger::AllowEditsWhileDebugging(
   REFGUID guidLanguageService
);

.NET Framework Security

See Also

Reference

IVsDebugger Interface

Microsoft.VisualStudio.Shell.Interop Namespace