Partager via


IVsPackageDynamicToolOwner Interface

Enables a package to have its own tool windows dynamically shown or hidden. You can get an instance of the interface from the SIVsPackageDynamicToolOwner (SID_SVsPackageDynamicToolOwner) service.

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

Syntax

'Déclaration
<GuidAttribute("7DB81657-7722-4407-B675-9F4A6FEEEA15")> _
<InterfaceTypeAttribute()> _
Public Interface IVsPackageDynamicToolOwner
'Utilisation
Dim instance As IVsPackageDynamicToolOwner
[GuidAttribute("7DB81657-7722-4407-B675-9F4A6FEEEA15")]
[InterfaceTypeAttribute()]
public interface IVsPackageDynamicToolOwner
[GuidAttribute(L"7DB81657-7722-4407-B675-9F4A6FEEEA15")]
[InterfaceTypeAttribute()]
public interface class IVsPackageDynamicToolOwner
[<GuidAttribute("7DB81657-7722-4407-B675-9F4A6FEEEA15")>]
[<InterfaceTypeAttribute()>]
type IVsPackageDynamicToolOwner =  interface end
public interface IVsPackageDynamicToolOwner

Remarks

Only packages that own tool windows not created with the CTW_fForceCreate flag need to implement this interface. You can also retrieve the interface by querying IVsPackage.

See Also

Reference

IVsPackageDynamicToolOwner Members

Microsoft.VisualStudio.Shell.Interop Namespace