IVsEnumBSTR.Next(UInt32, 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.
Récupère les BSTR de la séquence d'énumération.
public:
int Next(System::UInt32 celt, cli::array <System::String ^> ^ rgelt, [Runtime::InteropServices::Out] System::UInt32 % pceltFetched);
int Next(unsigned int celt, std::Array <std::wstring const &> const & rgelt, [Runtime::InteropServices::Out] unsigned int & pceltFetched);
public int Next (uint celt, string[] rgelt, out uint pceltFetched);
abstract member Next : uint32 * string[] * uint32 -> int
Public Function Next (celt As UInteger, rgelt As String(), ByRef pceltFetched As UInteger) As Integer
Paramètres
- celt
- UInt32
[in] Nombre demandé de BSTR à récupérer.
- rgelt
- String[]
[out, size_is(celt)] Liste des BSTR récupérés.
- pceltFetched
- UInt32
à Pointeur vers le nombre réel de zones masquées fournies dans pceltFetched . L’appelant de cette méthode peut définir cette valeur sur null si celt est un.
Retours
Si la méthode réussit, retourne S_OK. En cas d'échec, retourne un code d'erreur.
Remarques
Signature COM
À partir de textmgr. idl :
[C++]
HRESULT IVsEnumBSTR::Next(
[in] ULONG celt,
[out, size_is(celt), length_is(*pceltFetched)] BSTR *rgelt,
[out] ULONG *pceltFetched
);