IVsComponentSelectorDlg3.ComponentSelectorDlg4(UInt32, IVsComponentUser, UInt32, IntPtr[], String, String, UInt32, UInt32, UInt32, VSCOMPONENTSELECTORTABINIT[], Guid, String, String, UInt32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Affiche parcourir... Dialog et retourne les composants sélectionnés.
public:
int ComponentSelectorDlg4(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::UInt32 targetVersion);
public int ComponentSelectorDlg4 (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, uint targetVersion);
abstract member ComponentSelectorDlg4 : uint32 * Microsoft.VisualStudio.Shell.Interop.IVsComponentUser * uint32 * nativeint[] * string * string * uint32 * uint32 * uint32 * Microsoft.VisualStudio.Shell.Interop.VSCOMPONENTSELECTORTABINIT[] * Guid * string * string * uint32 -> int
Public Function ComponentSelectorDlg4 (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, targetVersion As UInteger) As Integer
Paramètres
- grfFlags
- UInt32
Indicateurs de sélection des composants issus de l'énumérateur VSCOMPSELFLAGS2.
- pUser
- IVsComponentUser
Interface dans laquelle AddComponent est appelé.
- cComponents
- UInt32
Nombre de composants dans le rgpcsdComponents tableau.
- rgpcsdComponents
- IntPtr[]
Préremplissage des composants sélectionnés. Peut être null. L'utilisateur peut supprimer chacun de ces composants de la liste.
- lpszDlgTitle
- String
Légende de la boîte de dialogue (null == "Sélectionner le composant").
- lpszHelpTopic
- String
Rubrique d’aide F1 ( null = = "vs. ComponentPicker")
- pxDlgSize
- UInt32
0 pour utiliser la valeur par défaut.
- pyDlgSize
- UInt32
0 pour utiliser la valeur par défaut.
- cTabInitializers
- UInt32
Nombre d'onglets.
- rgcstiTabInitializers
- VSCOMPONENTSELECTORTABINIT[]
Affiche l'ordre des onglets et leurs informations d'initialisation.
- pguidStartOnThisTab
- Guid
Onglet à afficher au démarrage de la boîte de dialogue
- pszBrowseFilters
- String
Liste des filtres à utiliser dans « Parcourir… ».
- pbstrBrowseLocation
- String
Répertoire (valeur initiale/de retour) pour démarrer le bouton Parcourir... boîte de dialogue dans.
- targetVersion
- UInt32
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.
Remarques
Signature COM
À partir de vsshell90. idl :
HRESULT ComponentSelectorDlg3(
[in] VSCOMPSELFLAGS grfFlags,
[in] ULONG cComponents,
[in, size_is(cComponents)] PVSCOMPONENTSELECTORDATA rgpcsdComponents[],
[in] LPCOLESTR lpszDlgTitle,
[in] LPCOLESTR lpszHelpTopic,
[in, out] ULONG * pxDlgSize,
[in, out] ULONG * pyDlgSize,
[in] REFGUID rguidShowOnlyThisTab,
[in] ULONG cTabInitializers,
[in, size_is(cTabInitializers)]
VSCOMPONENTSELECTORTABINIT *prgcstiTabInitializers,
[in, out] GUID * pguidStartOnThisTab,
[in] LPCOLESTR pszBrowseFilters,
[in, out] BSTR *pbstrBrowseLocation,
[in] TARGETFRAMEWORKVERSION targetVersion
);