SVsComponentSelectorDlg Interface
TOC
Collapse the table of content
Expand the table of content

SVsComponentSelectorDlg Interface

 

Passed to GetService to return a reference to IVsComponentSelectorDlg.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

[ComVisibleAttribute(false)]
[GuidAttribute("66899421-F497-4503-8C9D-ADAE290F2F27")]
[GuidAttribute("66899421-F497-4503-8C9D-ADAE290F2F27")]
public interface SVsComponentSelectorDlg

IVsComponentUser is used in conjunction with IVsComponentSelectorDlg. A VSPackage that uses the component selector dialog implements IVsComponentUser and passes it to the SVsComponentSelectorDlg service.

The environment provides the default implementation that is used by the standard Add Reference dialog box.

You implement IVsComponentUser on your hierarchy node, then call IVsComponentSelectorDlg with an appropriate filter from the __VSCOMPSELFLAGS enumeration, pass in your node's IVsComponentUser interface, a GUID_NULL for the show-only page (or GUID_COMPlusPage if that is the one you want on top), null if you want to enumerate on the local machine, an array of VSCOMPONENTSELECTORTABINIT values, your file filter, and a BSTR to set the initial directory and store it on return.

Return to top
Show:
© 2016 Microsoft