Language

DkmManagedTypeLayout(DkmManagedTypeId, UInt32, UInt32, UInt32, UInt32) Constructor

Definition

Initialize a new DkmManagedTypeLayout value.

This API was introduced in Visual Studio 17 Update 6 (DkmApiVersion.VS17Update6).

public DkmManagedTypeLayout(Microsoft.VisualStudio.Debugger.Clr.DkmManagedTypeId ParentId, uint ObjectSize, uint NumFields, uint BoxOffset, uint Type);
new Microsoft.VisualStudio.Debugger.Clr.DkmManagedTypeLayout : Microsoft.VisualStudio.Debugger.Clr.DkmManagedTypeId * uint32 * uint32 * uint32 * uint32 -> Microsoft.VisualStudio.Debugger.Clr.DkmManagedTypeLayout
Public Sub New (ParentId As DkmManagedTypeId, ObjectSize As UInteger, NumFields As UInteger, BoxOffset As UInteger, Type As UInteger)

Parameters

ParentId
DkmManagedTypeId

[In] The identifier of the parent type to this type. This will be the NULL type id (token1= 0, token2 = 0) if the type id corresponds to System.Object.

ObjectSize
UInt32

[In] The base size of an object of this type. This is the total size for non-variable sized objects.

NumFields
UInt32

[In] The number of fields included in objects of this type.

BoxOffset
UInt32

[In] If this type is boxed, the beginning offset of an object's fields. This field is valid only for value types such as primitives and structures.

Type
UInt32

[In] A CorElementType enumeration value to which this type belongs.

Applies to