IEnumToolboxItems.Next(UInt32, IDataObject[], 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.
Récupère le groupe d'interfaces objet de données (IDataObject) suivant qui représente des éléments de boîte à outils.
public:
int Next(System::UInt32 celt, cli::array <Microsoft::VisualStudio::OLE::Interop::IDataObject ^> ^ rgelt, [Runtime::InteropServices::Out] System::UInt32 % pceltFetched);
int Next(unsigned int celt, std::Array <Microsoft::VisualStudio::OLE::Interop::IDataObject const &> const & rgelt, [Runtime::InteropServices::Out] unsigned int & pceltFetched);
public int Next (uint celt, Microsoft.VisualStudio.OLE.Interop.IDataObject[] rgelt, out uint pceltFetched);
abstract member Next : uint32 * Microsoft.VisualStudio.OLE.Interop.IDataObject[] * uint32 -> int
Public Function Next (celt As UInteger, rgelt As IDataObject(), ByRef pceltFetched As UInteger) As Integer
Paramètres
- celt
- UInt32
[in] Nombre d'interfaces à retourner, ou zéro pour indiquer une demande pour tous les objets.
- rgelt
- IDataObject[]
[out] Tableau d'interfaces IDataObject représentant les éléments de boîte à outils. Contient des pceltFetched objets.
- pceltFetched
- UInt32
[out] Nombre réel d'interfaces récupérées.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.
Remarques
Signature COM
À partir de vsshell. idl :
HRESULT IEnumToolboxItems::Next(
[in] ULONG celt,
[out, size_is(celt), length_is(*pceltFetched)] IDataObject **rgelt, [out] ULONG *pceltFetched
);