Compartir a través de


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)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("64F6B8C1-3DEC-4606-8C8C-651A7E26A3DE")> _
Public Interface IVsComponentEnumeratorFactory2 _
    Inherits IVsComponentEnumeratorFactory
[InterfaceTypeAttribute()]
[GuidAttribute("64F6B8C1-3DEC-4606-8C8C-651A7E26A3DE")]
public interface IVsComponentEnumeratorFactory2 : IVsComponentEnumeratorFactory
[InterfaceTypeAttribute()]
[GuidAttribute(L"64F6B8C1-3DEC-4606-8C8C-651A7E26A3DE")]
public interface class IVsComponentEnumeratorFactory2 : IVsComponentEnumeratorFactory
[<InterfaceTypeAttribute()>]
[<GuidAttribute("64F6B8C1-3DEC-4606-8C8C-651A7E26A3DE")>]
type IVsComponentEnumeratorFactory2 =  
    interface 
        interface IVsComponentEnumeratorFactory 
    end
public interface IVsComponentEnumeratorFactory2 extends IVsComponentEnumeratorFactory

The IVsComponentEnumeratorFactory2 type exposes the following members.

Methods

  Name Description
Public method GetComponents Provides an enumerator for all of the components in a package.
Public method GetComponentsOfPath Enumerates the components on the local machine.

Top

Remarks

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

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

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace

IEnumComponents

CompEnum

IVsComponentEnumeratorFactory

IVsComponentEnumeratorFactory3