Partager via


IDiaEnumLineNumbers::Next

Retrieves a specified number of line numbers in the enumeration sequence.

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

Reference

IDiaEnumLineNumbers

IDiaLineNumber

IDiaSession::findLinesByLinenum