IVsComponentSelectorDlg4::ComponentSelectorDlg5 Method (UInt32, IVsComponentUser^, UInt32, array<IntPtr>^, String^, String^, UInt32, UInt32, UInt32, array<VSCOMPONENTSELECTORTABINIT>^, Guid, String^, String^, String^)

 

This method is same as ComponentSelectorDlg4, except that it takes a TargetFrameworkMoniker instead of a TargetFrameworkVersion, so that it is compliant with extensible multi-targeting.

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

int ComponentSelectorDlg5(
	unsigned int grfFlags,
	IVsComponentUser^ pUser,
	unsigned int cComponents,
	array<IntPtr>^ rgpcsdComponents,
	String^ lpszDlgTitle,
	String^ lpszHelpTopic,
	unsigned int% pxDlgSize,
	unsigned int% pyDlgSize,
	unsigned int cTabInitializers,
	array<VSCOMPONENTSELECTORTABINIT>^ rgcstiTabInitializers,
	Guid% pguidStartOnThisTab,
	String^ pszBrowseFilters,
	String^% pbstrBrowseLocation,
	String^ TargetFrameworkMoniker
)

Parameters

grfFlags
Type: System::UInt32

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

pUser
Type: Microsoft.VisualStudio.Shell.Interop::IVsComponentUser^

[in] Interface on which AddComponent will be called.

cComponents
Type: System::UInt32

[in] Number of components in the rgpcsdComponents array.

rgpcsdComponents
Type: array<System::IntPtr>^

[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
Type: System::String^

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

lpszHelpTopic
Type: System::String^

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

pxDlgSize
Type: System::UInt32

[in, out] 0 to use default.

pyDlgSize
Type: System::UInt32

[in, out] 0 to use default.

cTabInitializers
Type: System::UInt32

[in] Number of tabs.

rgcstiTabInitializers
Type: array<Microsoft.VisualStudio.Shell.Interop::VSCOMPONENTSELECTORTABINIT>^

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

pguidStartOnThisTab
Type: System::Guid

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

pszBrowseFilters
Type: System::String^

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

pbstrBrowseLocation
Type: System::String^

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

TargetFrameworkMoniker
Type: System::String^

[in] The target framework moniker.

Return Value

Type: System::Int32

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

Return to top
Show: