Partager via


IEnumPackages Interface

Enumerator for the currently loaded VSPackages. You can get an instance of the interface through the GetPackageEnum method of the IVsShell interface.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("9673A35F-C03A-438D-BD7E-27D9E28AC184")> _
Public Interface IEnumPackages
[InterfaceTypeAttribute()]
[GuidAttribute("9673A35F-C03A-438D-BD7E-27D9E28AC184")]
public interface IEnumPackages
[InterfaceTypeAttribute()]
[GuidAttribute(L"9673A35F-C03A-438D-BD7E-27D9E28AC184")]
public interface class IEnumPackages
[<InterfaceTypeAttribute()>]
[<GuidAttribute("9673A35F-C03A-438D-BD7E-27D9E28AC184")>]
type IEnumPackages =  interface end
public interface IEnumPackages

The IEnumPackages type exposes the following members.

Methods

  Name Description
Public method Clone Clones this IEnumPackages interface by creating another instance.
Public method Next Retrieves the next group of package interfaces (IVsPackage).
Public method Reset Returns the enumerator to its initial state.
Public method Skip Skip over a specified number of hierarchy interfaces.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace