ArrayType

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

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 Enumeration 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

Class Hierarchy of Symbol Types
Dimension