共用方式為


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

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("A7A1C907-C3D2-4ACB-9114-4EE23B6FCF7E")> _
Public Interface IVsToolWindowFactory
'用途
Dim instance As 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

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

IVsToolWindowFactory Members

Microsoft.VisualStudio.Shell.Interop Namespace