IVsComponentEnumeratorFactory2 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供组件、程序集路径或包含引用的目录列表的枚举器。 可以从 SCompEnumService (SID_SCompEnumService) 服务获取接口的实例。 此接口 IVsComponentEnumeratorFactory 采用以分号分隔的路径列表进行扩展。
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(1)>]
type IVsComponentEnumeratorFactory2 = interface
interface IVsComponentEnumeratorFactory
Public Interface IVsComponentEnumeratorFactory2
Implements IVsComponentEnumeratorFactory
- 属性
- 实现
注解
工厂返回用作 IEnumComponents 枚举器的接口。
IVsComponentEnumeratorFactory2接口通常由实现 IVsAddWebReferenceDlg2 以枚举组件。
方法
| GetComponents(String, Int32, Int32, IEnumComponents) |
为包中的所有组件提供枚举器。 |
| GetComponentsOfPath(String, Int32, Int32, String, IEnumComponents) |
枚举本地计算机上的组件。 |