共用方式為


IEnumPackages Interface

Definition

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

public interface class IEnumPackages
public interface class IEnumPackages
__interface IEnumPackages
[System.Runtime.InteropServices.Guid("9673A35F-C03A-438D-BD7E-27D9E28AC184")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IEnumPackages
[System.Runtime.InteropServices.Guid("9673A35F-C03A-438D-BD7E-27D9E28AC184")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IEnumPackages
[<System.Runtime.InteropServices.Guid("9673A35F-C03A-438D-BD7E-27D9E28AC184")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IEnumPackages = interface
[<System.Runtime.InteropServices.Guid("9673A35F-C03A-438D-BD7E-27D9E28AC184")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IEnumPackages = interface
Public Interface IEnumPackages
Attributes

Methods

Clone(IEnumPackages)

Clones this IEnumPackages interface by creating another instance.

Next(UInt32, IVsPackage[], UInt32)

Retrieves the next group of package interfaces (IVsPackage).

Reset()

Returns the enumerator to its initial state.

Skip(UInt32)

Skip over a specified number of hierarchy interfaces.

Applies to