Udostępnij za pośrednictwem


IDiaEnumSymbols::Next

Retrieves a specified number of symbols in the enumeration sequence.

HRESULT Next ( 
   ULONG        celt,
   IDiaSymbol** rgelt,
   ULONG*       pceltFetched
);

Parameters

  • celt
    [in] The number of symbols in the enumerator to be retrieved.

  • rgelt
    [out] An array that is to be filled in with the IDiaSymbol objects that represent the desired symbols.

  • pceltFetched
    [out] Returns the number of symbols in the fetched enumerator.

Return Value

If successful, returns S_OK. Returns S_FALSE if there are no more symbols. Otherwise, returns an error code.

Example

   IDiaEnumSymbols* pEnum
   CComPtr< IDiaSymbol> pSym;
   DWORD celt;
   pEnum->Next( 1, &pSym, &celt );

See Also

Reference

IDiaEnumSymbols

IDiaSession::findLinesByLinenum

IDiaSymbol