Partager via


IVsToolWindowFactory Interface

Provides VSPackages the ability to create multiple tool windows.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("A7A1C907-C3D2-4ACB-9114-4EE23B6FCF7E")> _
Public Interface IVsToolWindowFactory
[InterfaceTypeAttribute()]
[GuidAttribute("A7A1C907-C3D2-4ACB-9114-4EE23B6FCF7E")]
public interface IVsToolWindowFactory
[InterfaceTypeAttribute()]
[GuidAttribute(L"A7A1C907-C3D2-4ACB-9114-4EE23B6FCF7E")]
public interface class IVsToolWindowFactory
[<InterfaceTypeAttribute()>]
[<GuidAttribute("A7A1C907-C3D2-4ACB-9114-4EE23B6FCF7E")>]
type IVsToolWindowFactory =  interface end
public interface IVsToolWindowFactory

The IVsToolWindowFactory type exposes the following members.

Methods

  Name Description
Public method CreateToolWindow Enables the environment to create multiple on-demand tool windows that are implemented by VSPackages.

Top

Remarks

If your VSPackage supports multi-instance tool windows, you must implement this interface.

Notes to Implementers

Implemented by VSPackages that support multi-instance tool windows.

Notes to Callers

Called by the environment when a user requests a new tool window.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace