IVsEnumBSTR.Next(UInt32, String[], UInt32) Méthode

Définition

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

Int32

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  
);  

S’applique à