次の方法で共有


IDiaEnumLineNumbers::Next

[Note: This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

[このトピックはプレリリース版のため将来変更される可能性があります。また、プレースホルダとしてブランクのトピックが含まれています。]

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

IDiaEnumLineNumbers
IDiaLineNumber
IDiaSession::findLinesByLinenum