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: Guid%[in] The GUID of the tool.
switchContext
Type: String[in] The value for the group upon which the tool will be activated. See VSConstants.VSSELELEMID for more information.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.NET Framework Security
- 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.