IVsComponentEnumeratorFactory2 Interface

Provides an enumerator for components, assembly paths, or a list of directories containing references. You can get an instance of the interface from the SCompEnumService (SID_SCompEnumService) service. This interface extends IVsComponentEnumeratorFactory by taking a semicolon-delimited list of paths.

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

public interface IVsComponentEnumeratorFactory2 : IVsComponentEnumeratorFactory

The IVsComponentEnumeratorFactory2 type exposes the following members.

Public methodGetComponentsProvides an enumerator for all of the components in a package.
Public methodGetComponentsOfPathEnumerates the components on the local machine.

The factory returns an IEnumComponents interface to use as an enumerator.

The IVsComponentEnumeratorFactory2 interface is often implemented by IVsAddWebReferenceDlg2 to enumerate the components.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft