IVsShell.GetPackageEnum Method (IEnumPackages)
Visual Studio 2015
Returns a standard enumerator to iterate through the VSPackages currently loaded by the environment.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- ppenum
-
Type:
Microsoft.VisualStudio.Shell.Interop.IEnumPackages
[out] Pointer to the IEnumPackages interface that specifies the enumerator of the loaded VSPackage.
Return Value
Type: System.Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsShell::GetPackageEnum( [out] IEnumPackages **ppEnum );
This method should seldom be used. Interaction with VSPackages should be conducted by means of the services they proffer.
Show: