Partager via


IVsWindowFrameSwitcher Interface

Manages a tool window that supports switching between multiple client area views.

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

Syntax

'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("C40CF83B-A231-46B3-AA07-8CC30D5E1A04")> _
Public Interface IVsWindowFrameSwitcher
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("C40CF83B-A231-46B3-AA07-8CC30D5E1A04")]
public interface IVsWindowFrameSwitcher
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"C40CF83B-A231-46B3-AA07-8CC30D5E1A04")]
public interface class IVsWindowFrameSwitcher
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("C40CF83B-A231-46B3-AA07-8CC30D5E1A04")>]
type IVsWindowFrameSwitcher =  interface end
public interface IVsWindowFrameSwitcher

The IVsWindowFrameSwitcher type exposes the following members.

Methods

  Name Description
Public method AddTool Adds a tool to this frame switcher.
Public method GetActiveFrame Gets the inner frame of the active tool for the group.
Public method InitializeSwitcher Initializes the switcher by indicating the VSConstants.VSSELELEMID it will monitor for switching between tools in the group. This can be one of the existing VSSELELEMID values or a custom slot in the SelectionElements registry key.
Public method RemoveTool Removes a tool from the frame switcher.

Top

Remarks

This interface makes it possible for multiple tools with the same information to operate as a single functional unit with a group identity. One example of this is the Properties window.

This interface is retrieved by calling QueryInterface on the IVsWindowFrame of a Tool Window.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace