次の方法で共有


IDiaEnumSymbols::Item

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

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

Retrieves a symbol by means of an index.

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