Поделиться через


IVsWindowFrameSwitcher.RemoveTool Method

Removes a tool from the frame switcher.

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

Syntax

'Declaration
Function RemoveTool ( _
    ByRef guidTool As Guid, _
    switchContext As String _
) As Integer
int RemoveTool(
    ref Guid guidTool,
    string switchContext
)
int RemoveTool(
    [InAttribute] Guid% guidTool, 
    [InAttribute] String^ switchContext
)
abstract RemoveTool : 
        guidTool:Guid byref * 
        switchContext:string -> int 
function RemoveTool(
    guidTool : Guid, 
    switchContext : String
) : int

Parameters

  • guidTool
    Type: System.Guid%
    [in] The GUID of the tool.

Return Value

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

.NET Framework Security

See Also

Reference

IVsWindowFrameSwitcher Interface

Microsoft.VisualStudio.Shell.Interop Namespace