IDiaEnumLineNumbers::Next
Note
This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
Retrieves a specified number of line numbers in the enumeration sequence.
Syntax
HRESULT Next (
ULONG celt,
IDiaLineNumber** rgelt,
ULONG* pceltFetched
);
Parameters
celt
[in] The number of line numbers in the enumerator to be retrieved.
rgelt
[out] Returns an array of IDiaLineNumber objects that represent the desired line numbers.
pceltFetched
[out] Returns the number of line numbers in the fetched enumerator.
Return Value
If successful, returns S_OK
. Returns S_FALSE
if there are no more line numbers. Otherwise, returns an error code.
See Also
IDiaEnumLineNumbers
IDiaLineNumber
IDiaSession::findLinesByLinenum