DkmManagedHeapSparseArrayInfo Constructor

Definition

Initialize a new DkmManagedHeapSparseArrayInfo value.

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

public DkmManagedHeapSparseArrayInfo(ulong Address, uint ArrayLength, uint ElementSize, uint EmptyEntries, uint BytesWasted, Microsoft.VisualStudio.Debugger.Clr.DkmManagedTypeId ArrayTypeId, bool ReadSuccessfully, string TypeName);
new Microsoft.VisualStudio.Debugger.Clr.DkmManagedHeapSparseArrayInfo : uint64 * uint32 * uint32 * uint32 * uint32 * Microsoft.VisualStudio.Debugger.Clr.DkmManagedTypeId * bool * string -> Microsoft.VisualStudio.Debugger.Clr.DkmManagedHeapSparseArrayInfo
Public Sub New (Address As ULong, ArrayLength As UInteger, ElementSize As UInteger, EmptyEntries As UInteger, BytesWasted As UInteger, ArrayTypeId As DkmManagedTypeId, ReadSuccessfully As Boolean, TypeName As String)

Parameters

Address
UInt64

[In] The address of this object.

ArrayLength
UInt32

[In] The number of elements in this array.

ElementSize
UInt32

[In] The size (in bytes) of an element in this array type.

EmptyEntries
UInt32

[In] The number of empty entries in this array.

BytesWasted
UInt32

[In] The total number of bytes wasted by this array.

ArrayTypeId
DkmManagedTypeId

[In] The type id for this array type.

ReadSuccessfully
Boolean

[In] Whether or not this instance was successfully read.

TypeName
String

[In] The type name for this array. Corresponds to the type name retrieved from the heap walk.

Applies to