DkmManagedTypeLayout Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides information about the layout of an object in memory. Corresponds to COR_TYPE_LAYOUT defined in cordebug.h.
This API was introduced in Visual Studio 17 Update 6 (DkmApiVersion.VS17Update6).
[System.Runtime.InteropServices.Guid("9efe7d38-84de-9b5d-de6e-23f1355e947b")]
public struct DkmManagedTypeLayout
[<System.Runtime.InteropServices.Guid("9efe7d38-84de-9b5d-de6e-23f1355e947b")>]
type DkmManagedTypeLayout = struct
Public Structure DkmManagedTypeLayout
- Inheritance
-
DkmManagedTypeLayout
- Attributes
Constructors
| Name | Description |
|---|---|
| DkmManagedTypeLayout(DkmManagedTypeId, UInt32, UInt32, UInt32, UInt32) |
Initialize a new DkmManagedTypeLayout value. This API was introduced in Visual Studio 17 Update 6 (DkmApiVersion.VS17Update6). |
Fields
| Name | Description |
|---|---|
| BoxOffset |
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. |
| NumFields |
The number of fields included in objects of this type. |
| ObjectSize |
The base size of an object of this type. This is the total size for non-variable sized objects. |
| ParentId |
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. |
| Type |
A CorElementType enumeration value to which this type belongs. |