description | title | ms.date | api_name | api_location | api_type | f1_keywords | helpviewer_keywords | ms.assetid | topic_type | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Learn more about: COR_ARRAY_LAYOUT Structure |
COR_ARRAY_LAYOUT Structure |
03/30/2017 |
|
|
|
|
|
aa20ac3d-6f60-4aa2-91c5-f3a86f82eba8 |
|
Provides information about the layout of an array object in memory.
typedef struct COR_ARRAY_LAYOUT {
COR_TYPEID componentID;
CorElementType componentType;
ULONG32 firstElementOffset;
ULONG32 elementSize;
ULONG32 countOffset;
ULONG32 rankSize;
ULONG32 numRanks;
ULONG32 rankOffset;
} COR_ARRAY_LAYOUT;
Member | Description |
---|---|
componentID |
The identifier of the type of objects that the array contains. |
componentType |
A CorElementType enumeration value that indicates whether the component is a garbage collection reference, a value class, or a primitive. |
firstElementOffset |
The offset to the first element in the array. |
elementSize |
The size of each element. |
countOffset |
The offset to the number of elements in the array. |
rankSize |
The size of the rank, in bytes. |
numRanks |
The number of ranks in the array. |
rankOffset |
The offset at which the ranks start. |
The rankSize
field specifies the size of a rank in a multi-dimensional array. It is accurate for single-dimensional arrays as well.
The value of numRanks
is 1 for a single-dimensional array and N
for a multi-dimensional array of N
dimensions.
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: [!INCLUDEnet_current_v45plus]