COR_ARRAY_LAYOUT Structure
Provides information about the layout of an array object in memory.
Syntax
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;
Members
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. |
Remarks
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.
Requirements
Platforms: See System Requirements.
Header: CorDebug.idl, CorDebug.h
Library: CorGuids.lib
.NET Framework Versions: Available since 4.5
See also
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.