This documentation is archived and is not being maintained.

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)

[GuidAttribute("64F6B8C1-3DEC-4606-8C8C-651A7E26A3DE")] 
[InterfaceTypeAttribute(1)] 
public interface IVsComponentEnumeratorFactory2 : IVsComponentEnumeratorFactory
/** @attribute GuidAttribute("64F6B8C1-3DEC-4606-8C8C-651A7E26A3DE") */ 
/** @attribute InterfaceTypeAttribute(1) */ 
public interface IVsComponentEnumeratorFactory2 extends IVsComponentEnumeratorFactory
GuidAttribute("64F6B8C1-3DEC-4606-8C8C-651A7E26A3DE") 
InterfaceTypeAttribute(1) 
public interface IVsComponentEnumeratorFactory2 extends IVsComponentEnumeratorFactory

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

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

Show: