IVsComponentEnumeratorFactory2 Interface

Definition

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.

public interface class IVsComponentEnumeratorFactory2 : Microsoft::VisualStudio::Shell::Interop::IVsComponentEnumeratorFactory
public interface class IVsComponentEnumeratorFactory2 : Microsoft::VisualStudio::Shell::Interop::IVsComponentEnumeratorFactory
__interface IVsComponentEnumeratorFactory2 : Microsoft::VisualStudio::Shell::Interop::IVsComponentEnumeratorFactory
[System.Runtime.InteropServices.Guid("64F6B8C1-3DEC-4606-8C8C-651A7E26A3DE")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsComponentEnumeratorFactory2 : Microsoft.VisualStudio.Shell.Interop.IVsComponentEnumeratorFactory
[System.Runtime.InteropServices.Guid("64F6B8C1-3DEC-4606-8C8C-651A7E26A3DE")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsComponentEnumeratorFactory2 : Microsoft.VisualStudio.Shell.Interop.IVsComponentEnumeratorFactory
[<System.Runtime.InteropServices.Guid("64F6B8C1-3DEC-4606-8C8C-651A7E26A3DE")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsComponentEnumeratorFactory2 = interface
    interface IVsComponentEnumeratorFactory
[<System.Runtime.InteropServices.Guid("64F6B8C1-3DEC-4606-8C8C-651A7E26A3DE")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsComponentEnumeratorFactory2 = interface
    interface IVsComponentEnumeratorFactory
Public Interface IVsComponentEnumeratorFactory2
Implements IVsComponentEnumeratorFactory
Attributes
Implements

Remarks

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

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

Methods

GetComponents(String, Int32, Int32, IEnumComponents)

Provides an enumerator for all of the components in a package.

GetComponentsOfPath(String, Int32, Int32, String, IEnumComponents)

Enumerates the components on the local machine.

Applies to