IVsEnumCodeBlocks::Next Method (UInt32, array<TextSpanAndCookie>^, UInt32)
Visual Studio 2015
Returns the next set of elements from the enumeration.
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
int Next( unsigned int celt, array<TextSpanAndCookie>^ rgelt, [OutAttribute] unsigned int% pceltFetched )
Parameters
- celt
-
Type:
System::UInt32
[in] The number of elements to retrieve. Also specifies the maximum size of the rgelt array.
- rgelt
-
Type:
array<Microsoft.VisualStudio.TextManager.Interop::TextSpanAndCookie>^
[in, out] An array of TextSpanAndCookie objects to be filled in.
- pceltFetched
-
Type:
System::UInt32
[out] Returns the number of elements actually returned in the rgelt array.
Return Value
Type: System::Int32If successful, returns S_OK. Returns S_FALSE if fewer than the requested number of elements could be returned. Otherwise, returns an error code.
From singlefileeditor.idl:
HRESULT Next(
[in] ULONG celt,
[out, size_is(celt), length_is(*pceltFetched)] TextSpanAndCookie *rgelt,
[out] ULONG *pceltFetched
);
Show: