共用方式為


IDiaEnumSymbolsByAddr::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 the next symbols in order by address.

Syntax

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 object 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.

Remarks

This method updates the enumerator position by the number of elements fetched.

See Also

IDiaEnumSymbolsByAddr
IDiaSymbol