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)

Syntax

'Declaration
<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
[ComVisibleAttribute(false)]
[GuidAttribute(L"66899421-F497-4503-8C9D-ADAE290F2F27")]
[GuidAttribute(L"66899421-F497-4503-8C9D-ADAE290F2F27")]
public interface class SVsComponentSelectorDlg
[<ComVisibleAttribute(false)>]
[<GuidAttribute("66899421-F497-4503-8C9D-ADAE290F2F27")>]
[<GuidAttribute("66899421-F497-4503-8C9D-ADAE290F2F27")>]
type SVsComponentSelectorDlg =  interface end
public interface SVsComponentSelectorDlg

Remarks

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), nulla null reference (Nothing in Visual Basic) 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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace