Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
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.