IVsEnumBufferCoordinatorSpans.Next(UInt32, NewSpanMapping[], UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the next set of elements from the enumeration.
public:
int Next(System::UInt32 celt, cli::array <Microsoft::VisualStudio::TextManager::Interop::NewSpanMapping> ^ rgelt, [Runtime::InteropServices::Out] System::UInt32 % pceltFetched);
int Next(unsigned int celt, std::Array <Microsoft::VisualStudio::TextManager::Interop::NewSpanMapping> const & rgelt, [Runtime::InteropServices::Out] unsigned int & pceltFetched);
public int Next (uint celt, Microsoft.VisualStudio.TextManager.Interop.NewSpanMapping[] rgelt, out uint pceltFetched);
abstract member Next : uint32 * Microsoft.VisualStudio.TextManager.Interop.NewSpanMapping[] * uint32 -> int
Public Function Next (celt As UInteger, rgelt As NewSpanMapping(), ByRef pceltFetched As UInteger) As Integer
Parameters
- celt
- UInt32
[in] The number of elements to retrieve. Also specifies the maximum size of the rgelt
array.
- rgelt
- NewSpanMapping[]
[in, out] An array of NewSpanMapping objects to be filled in.
- pceltFetched
- UInt32
[out] Returns the number of elements actually returned in the rgelt
array.
Returns
If successful, returns S_OK. Returns S_FALSE if fewer than the requested number of elements could be returned. Otherwise, returns an error code.
Remarks
COM Signature
From singlefileeditor.idl:
HRESULT Next(
[in] ULONG celt,
[in, out] NewSpanMapping* rgelt,
[out] ULONG* pceltFetched
);