IVsComponentSelectorDlg4.ComponentSelectorDlg5 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
此方法与相同 ComponentSelectorDlg4(UInt32, IVsComponentUser, UInt32, IntPtr[], String, String, UInt32, UInt32, UInt32, VSCOMPONENTSELECTORTABINIT[], Guid, String, String, UInt32) ,只不过它使用 TargetFrameworkMoniker 而不是 TargetFrameworkVersion,以使其符合可扩展的多目标。
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
参数
- grfFlags
- UInt32
中从枚举器中获取的组件选择标志 VSCOMPSELFLAGS2 。
- pUser
- IVsComponentUser
中将在其上调用的接口 AddComponent 。
- cComponents
- UInt32
中数组中的组件数 rgpcsdComponents 。
- rgpcsdComponents
-
IntPtr[]
nativeint[]
[size_is (cComponents) ]选定组件的 Prepopulation。 可以为 null。 用户能够从列表中删除这些组件。
- lpszDlgTitle
- String
中对话框标题 (null = = "选择组件" ) 。
- lpszHelpTopic
- String
中F1 帮助主题 (null = = "ComponentPicker" ) 。
- pxDlgSize
- UInt32
[in,out] 0,使用默认值。
- pyDlgSize
- UInt32
[in,out] 0,使用默认值。
- cTabInitializers
- UInt32
中选项卡的数目。
- rgcstiTabInitializers
- VSCOMPONENTSELECTORTABINIT[]
[size_is (cTabInitializers) ]显示选项卡及其初始化信息的顺序。
- pguidStartOnThisTab
- Guid
[in,out]启动对话框时显示的选项卡。
- pszBrowseFilters
- String
中要在 "浏览 ..." 中使用的筛选器的列表。
- pbstrBrowseLocation
- String
[in,out]目录 (初始/返回值) 启动 "浏览 ..." 对话框。
- TargetFrameworkMoniker
- String
中目标框架名字对象。
返回
如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。