共用方式為


IVsDebugger2.ToggleUseQuickConsoleOption Method

Sets the Use Quick Console option.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣告
Function ToggleUseQuickConsoleOption ( _
    fOnOff As Integer _
) As Integer
'用途
Dim instance As IVsDebugger2
Dim fOnOff As Integer
Dim returnValue As Integer

returnValue = instance.ToggleUseQuickConsoleOption(fOnOff)
int ToggleUseQuickConsoleOption(
    int fOnOff
)
int ToggleUseQuickConsoleOption(
    [InAttribute] int fOnOff
)
abstract ToggleUseQuickConsoleOption : 
        fOnOff:int -> int 
function ToggleUseQuickConsoleOption(
    fOnOff : int
) : int

Parameters

  • fOnOff
    Type: System.Int32
    [in] A boolean value; true to enable Use Quick Console.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT ToggleUseQuickConsoleOptionSetting(
    [in] BOOL fOnOff
);

.NET Framework Security

See Also

Reference

IVsDebugger2 Interface

IVsDebugger2 Members

Microsoft.VisualStudio.Shell.Interop Namespace