通过


DkmManagedArrayLayout 构造函数

定义

初始化新的 DkmManagedArrayLayout 值。

此 API 是在 Visual Studio 17 Update 5 (DkmApiVersion.VS17Update5) 中引入的。

public DkmManagedArrayLayout(Microsoft.VisualStudio.Debugger.Clr.DkmManagedTypeId ComponentId, uint ComponentType, uint FirstElementOffset, uint ElementSize, uint CountOffset, uint RankSize, uint NumRanks, uint RankOffset);
new Microsoft.VisualStudio.Debugger.Clr.DkmManagedArrayLayout : Microsoft.VisualStudio.Debugger.Clr.DkmManagedTypeId * uint32 * uint32 * uint32 * uint32 * uint32 * uint32 * uint32 -> Microsoft.VisualStudio.Debugger.Clr.DkmManagedArrayLayout
Public Sub New (ComponentId As DkmManagedTypeId, ComponentType As UInteger, FirstElementOffset As UInteger, ElementSize As UInteger, CountOffset As UInteger, RankSize As UInteger, NumRanks As UInteger, RankOffset As UInteger)

参数

ComponentId
DkmManagedTypeId

[In]数组包含的对象类型的标识符。

ComponentType
UInt32

[In]一个 CorElementType 枚举值,该值指示组件是垃圾回收引用、值类还是基元。

FirstElementOffset
UInt32

[In]数组中第一个元素的偏移量。

ElementSize
UInt32

[In]每个元素的大小。

CountOffset
UInt32

[In]数组中元素数的偏移量。

RankSize
UInt32

[In]排名的大小(以字节为单位)。

NumRanks
UInt32

[In]数组中的排名数。

RankOffset
UInt32

[In]排名开始的偏移量。

适用于