IDiaEnumSymbols::Item

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 symbol by means of an index.

Syntax

HRESULT Item (   
   DWORD        index,  
   IDiaSymbol** symbol  
);  

Parameters

index
[in] Index of the IDiaSymbol object to be retrieved. The index is in the range 0 to count-1, where count is returned by the IDiaEnumSymbols::get_Count method.

symbol
[out] Returns an IDiaSymbol object representing the desired symbol.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

See Also

IDiaEnumSymbols
IDiaSymbol