Share via


DkmManagedArrayLayout Struct

Definition

Array layout of an object type. Corresponds to COR_ARRAY_LAYOUT defined in cordebug.h.

This API was introduced in Visual Studio 17 Update 5 (DkmApiVersion.VS17Update5).

[System.Runtime.InteropServices.Guid("c5be7f15-53f2-465c-b3d5-cc187c5168ae")]
public struct DkmManagedArrayLayout
[<System.Runtime.InteropServices.Guid("c5be7f15-53f2-465c-b3d5-cc187c5168ae")>]
type DkmManagedArrayLayout = struct
Public Structure DkmManagedArrayLayout
Inheritance
DkmManagedArrayLayout
Attributes

Constructors

DkmManagedArrayLayout(DkmManagedTypeId, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32)

Initialize a new DkmManagedArrayLayout value.

This API was introduced in Visual Studio 17 Update 5 (DkmApiVersion.VS17Update5).

Fields

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.

CountOffset

The offset to the number of elements in the array.

ElementSize

The size of each element.

FirstElementOffset

The offset to the first element in the array.

NumRanks

The number of ranks in the array.

RankOffset

The offset at which the ranks start.

RankSize

The size of the rank, in bytes.

Applies to