Share via


SVsComponentSelectorDlg Interface

Definition

Passed to GetService(Type) to return a reference to IVsComponentSelectorDlg.

public interface class SVsComponentSelectorDlg
public interface class SVsComponentSelectorDlg
__interface SVsComponentSelectorDlg
[System.Runtime.InteropServices.ComVisible(false)]
[System.Runtime.InteropServices.Guid("66899421-F497-4503-8C9D-ADAE290F2F27")]
public interface SVsComponentSelectorDlg
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Runtime.InteropServices.Guid("66899421-F497-4503-8C9D-ADAE290F2F27")>]
type SVsComponentSelectorDlg = interface
Public Interface SVsComponentSelectorDlg
Attributes

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), 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.

Applies to