IVsComponentSelectorDlg4.ComponentSelectorDlg5 Method

Definition

This method is same as ComponentSelectorDlg4(UInt32, IVsComponentUser, UInt32, IntPtr[], String, String, UInt32, UInt32, UInt32, VSCOMPONENTSELECTORTABINIT[], Guid, String, String, UInt32), except that it takes a TargetFrameworkMoniker instead of a TargetFrameworkVersion, so that it is compliant with extensible multi-targeting.

public:
 int ComponentSelectorDlg5(System::UInt32 grfFlags, Microsoft::VisualStudio::Shell::Interop::IVsComponentUser ^ pUser, System::UInt32 cComponents, cli::array <IntPtr> ^ rgpcsdComponents, System::String ^ lpszDlgTitle, System::String ^ lpszHelpTopic, [Runtime::InteropServices::Out] System::UInt32 % pxDlgSize, [Runtime::InteropServices::Out] System::UInt32 % pyDlgSize, System::UInt32 cTabInitializers, cli::array <Microsoft::VisualStudio::Shell::Interop::VSCOMPONENTSELECTORTABINIT> ^ rgcstiTabInitializers, [Runtime::InteropServices::Out] Guid % pguidStartOnThisTab, System::String ^ pszBrowseFilters, [Runtime::InteropServices::Out] System::String ^ % pbstrBrowseLocation, System::String ^ TargetFrameworkMoniker);
public int ComponentSelectorDlg5 (uint grfFlags, Microsoft.VisualStudio.Shell.Interop.IVsComponentUser pUser, uint cComponents, IntPtr[] rgpcsdComponents, string lpszDlgTitle, string lpszHelpTopic, out uint pxDlgSize, out uint pyDlgSize, uint cTabInitializers, Microsoft.VisualStudio.Shell.Interop.VSCOMPONENTSELECTORTABINIT[] rgcstiTabInitializers, out Guid pguidStartOnThisTab, string pszBrowseFilters, out string pbstrBrowseLocation, string TargetFrameworkMoniker);
abstract member ComponentSelectorDlg5 : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsComponentUser * uint32 * nativeint[] * string * string * uint32 * uint32 * uint32 * Microsoft.VisualStudio.Shell.Interop.VSCOMPONENTSELECTORTABINIT[] * Guid * string * string * string -> int
Public Function ComponentSelectorDlg5 (grfFlags As UInteger, pUser As IVsComponentUser, cComponents As UInteger, rgpcsdComponents As IntPtr(), lpszDlgTitle As String, lpszHelpTopic As String, ByRef pxDlgSize As UInteger, ByRef pyDlgSize As UInteger, cTabInitializers As UInteger, rgcstiTabInitializers As VSCOMPONENTSELECTORTABINIT(), ByRef pguidStartOnThisTab As Guid, pszBrowseFilters As String, ByRef pbstrBrowseLocation As String, TargetFrameworkMoniker As String) As Integer

Parameters

grfFlags
UInt32

[in] Component selection flags taken from the VSCOMPSELFLAGS2 enumerator.

pUser
IVsComponentUser

[in] Interface on which AddComponent will be called.

cComponents
UInt32

[in] Number of components in the rgpcsdComponents array.

rgpcsdComponents

IntPtr[]

nativeint[]

[in, size_is(cComponents)] Prepopulation of Selected Components. Can be null. User has the ability to remove any of these components from the list.

lpszDlgTitle
String

[in] Dialog box caption (null == "Select component").

lpszHelpTopic
String

[in] F1 help topic (null == "VS.ComponentPicker").

pxDlgSize
UInt32

[in, out] 0 to use default.

pyDlgSize
UInt32

[in, out] 0 to use default.

cTabInitializers
UInt32

[in] Number of tabs.

rgcstiTabInitializers
VSCOMPONENTSELECTORTABINIT[]

[in, size_is(cTabInitializers)] Show order of tabs and their initialization info.

pguidStartOnThisTab
Guid

[in, out] Tab to show when the dialog starts up.

pszBrowseFilters
String

[in] List of filters to use in 'Browse…'.

pbstrBrowseLocation
String

[in, out] Directory (initial/return value) to start the 'Browse…' dialog in.

TargetFrameworkMoniker
String

[in] The target framework moniker.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to