次の方法で共有


IDiaSymbol::get_types

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

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

Retrieves an array of compiler-specific types for this symbol.

HRESULT get_types ( 
   DWORD       cTypes,
   DWORD*      pcTypes,
   IDiaSymbol* types[]
);

Parameters

  • cTypes
    [in] Size of the buffer to hold the data.

  • pcTypes
    [out] Returns the number of types written, or, if the types parameter is NULL, then the total number of types available.

  • types[]
    [out] An array that is to be filled in with the IDiaSymbol objects that represent all the types for this symbol.

Return Value

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

注意

A return value of S_FALSE means the property is not available for the symbol.


See Also

IDiaSymbol