SelectionContainer.ISelectionContainer.SelectObjects(UInt32, Object[], 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.
Définit la collection d'objets sélectionnables.
virtual int Microsoft.VisualStudio.Shell.Interop.ISelectionContainer.SelectObjects(System::UInt32 cSelect, cli::array <System::Object ^> ^ apUnkSelect, System::UInt32 dwFlags) = Microsoft::VisualStudio::Shell::Interop::ISelectionContainer::SelectObjects;
virtual int Microsoft.VisualStudio.Shell.Interop.ISelectionContainer.SelectObjects(unsigned int cSelect, Platform::Array <Platform::Object ^> ^ apUnkSelect, unsigned int dwFlags) = Microsoft::VisualStudio::Shell::Interop::ISelectionContainer::SelectObjects;
int Microsoft.VisualStudio.Shell.Interop.ISelectionContainer.SelectObjects(unsigned int cSelect, std::Array <winrt::Windows::Foundation::IInspectable const &> const & apUnkSelect, unsigned int dwFlags);
int ISelectionContainer.SelectObjects (uint cSelect, object[] apUnkSelect, uint dwFlags);
abstract member Microsoft.VisualStudio.Shell.Interop.ISelectionContainer.SelectObjects : uint32 * obj[] * uint32 -> int
override this.Microsoft.VisualStudio.Shell.Interop.ISelectionContainer.SelectObjects : uint32 * obj[] * uint32 -> int
Function SelectObjects (cSelect As UInteger, apUnkSelect As Object(), dwFlags As UInteger) As Integer Implements ISelectionContainer.SelectObjects
Paramètres
- cSelect
- UInt32
Taille du tableau d'octets sélectionnés.
- apUnkSelect
- Object[]
Tableau d'objets à sélectionner.
- dwFlags
- UInt32
Si cette valeur est true, les ActivateObjects seront exécutés dans le tableau d'objets.
Retours
Retourne S_OK si l'opération réussit.
Implémente
Remarques
Si le tableau d’objets sélectionnés n’est pas vide et ne peut pas être lu, l' SelectedObjectsChanged événement est déclenché.