ArrayType

An array is identified by a SymTagArray symbol.

Properties

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

Property

Data type

Description

IDiaSymbol::get_arrayIndexType

IDiaSymbol*

Symbol for the array index type.

IDiaSymbol::get_arrayIndexTypeId

DWORD

ID of the array index type symbol.

IDiaSymbol::get_constType

BOOL

TRUE if the array is marked as const.

IDiaSymbol::get_count

DWORD

Number of items in the array.

IDiaSymbol::get_length

LONGLONG

Size, in bytes, of this array.

IDiaSymbol::get_lexicalParent

IDiaSymbol*

Symbol of the enclosing compiland.

IDiaSymbol::get_lexicalParentId

DWORD

ID of the lexical parent symbol.

IDiaSymbol::get_rank

DWORD

Rank of a FORTRAN multidimensional array.

IDiaSymbol::get_symIndexId

DWORD

Index ID of symbol.

IDiaSymbol::get_symTag

DWORD

Returns SymTagArray (one of the SymTagEnum values).

IDiaSymbol::get_type

IDiaSymbol*

Symbol for the array element type.

IDiaSymbol::get_typeId

DWORD

ID of the array element type symbol.

IDiaSymbol::get_unalignedType

BOOL

TRUE if the array is unaligned

IDiaSymbol::get_volatileType

BOOL

TRUE if the array is marked as volatile.

See Also

Reference

Class Hierarchy of Symbol Types

Dimension