Partager via


IVsWindowFrameSwitcher.RemoveTool(Guid, String) Method

Definition

Removes a tool from the frame switcher.

public:
 int RemoveTool(Guid % guidTool, System::String ^ switchContext);
public int RemoveTool (ref Guid guidTool, string switchContext);
abstract member RemoveTool : Guid * string -> int
Public Function RemoveTool (ByRef guidTool As Guid, switchContext As String) As Integer

Parameters

guidTool
Guid

[in] The GUID of the tool.

switchContext
String

[in] The value for the group upon which the tool will be activated. See VSConstants.VSSELELEMID for more information.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to