SVsComponentSelectorDlg 接口

传递给 GetService 返回对 IVsComponentSelectorDlg

命名空间:  Microsoft.VisualStudio.Shell.Interop
程序集:  Microsoft.VisualStudio.Shell.Interop(在 Microsoft.VisualStudio.Shell.Interop.dll 中)

语法

声明
<ComVisibleAttribute(False)> _
<GuidAttribute("66899421-F497-4503-8C9D-ADAE290F2F27")> _
<GuidAttribute("66899421-F497-4503-8C9D-ADAE290F2F27")> _
Public Interface SVsComponentSelectorDlg
[ComVisibleAttribute(false)]
[GuidAttribute("66899421-F497-4503-8C9D-ADAE290F2F27")]
[GuidAttribute("66899421-F497-4503-8C9D-ADAE290F2F27")]
public interface SVsComponentSelectorDlg

备注

IVsComponentUserIVsComponentSelectorDlg一起使用。 使用组件选择器对话框实现 IVsComponentUser 并将其传递给 SVsComponentSelectorDlg 服务的 VSPackage。

该环境提供标准 添加引用 对话框使用的默认实现。

您实现层次结构中的节点的 IVsComponentUser ,然后调用具有适当的筛选器的 IVsComponentSelectorDlg__VSCOMPSELFLAGS 枚举,请在节点的 IVsComponentUser 接口,显示页的 GUID_NULL (或 GUID_COMPlusPage 过程,如果有一个您只需在上面), nullnull 引用(在 Visual Basic 中为 Nothing) ,如果您在本地计算机上, VSCOMPONENTSELECTORTABINIT 值,文件筛选器枚举,因此,设置初始目录并将它存储的 BSTR 返回。

请参见

参考

Microsoft.VisualStudio.Shell.Interop 命名空间