IDiaSymbol::get_types

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. 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 an array of compiler-specific types for this symbol.

Syntax

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.

Note

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

See also