IVsEnumBSTR::Next Method (UInt32, array<String^>^, UInt32)
Visual Studio 2015
Retrieves BSTRs from the enumeration sequence.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
int Next( unsigned int celt, array<String^>^ rgelt, [OutAttribute] unsigned int% pceltFetched )
Parameters
- celt
-
Type:
System::UInt32
[in] The requested number of BSTRs to retrieve.
- rgelt
-
Type:
array<System::String^>^
[out, size_is(celt)] The list of BSTRs that have been retrieved.
- pceltFetched
-
Type:
System::UInt32
[out] Pointer to the actual number of hidden regions supplied in pceltFetched. The caller of this method can set this to null if celt is one.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textmgr.idl:
[C++]
HRESULT IVsEnumBSTR::Next( [in] ULONG celt, [out, size_is(celt), length_is(*pceltFetched)] BSTR *rgelt, [out] ULONG *pceltFetched );
Show: