BaseType

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

Base types are identified by SymTagBaseType symbols.

Properties

The following table shows additional valid properties for this symbol type.

Property Data type Description
IDiaSymbol::get_baseType DWORD One of the values of the BasicType Enumeration.
IDiaSymbol::get_constType BOOL TRUE if the base type is marked as const.
IDiaSymbol::get_length LONGLONG Size, in bytes, of the base type.
IDiaSymbol::get_lexicalParent IDiaSymbol* Symbol of the enclosing Compiland.
IDiaSymbol::get_lexicalParentId DWORD ID of the lexical parent symbol.
IDiaSymbol::get_symIndexId DWORD Index ID of symbol.
IDiaSymbol::get_symTag DWORD Returns SymTagBaseType (one of the SymTagEnum Enumeration values).
IDiaSymbol::get_unalignedType BOOL TRUE if the base type is unaligned.
IDiaSymbol::get_volatileType BOOL TRUE if the base type is marked as volatile.

See Also

BasicType Enumeration
Class Hierarchy of Symbol Types