RuntimeHelpers.AllocateTypeAssociatedMemory Methode

Definition

Überlädt

Name Beschreibung
AllocateTypeAssociatedMemory(Type, Int32)

Weist Arbeitsspeicher zu, der dem type und dem freigegebenen Speicher zugeordnet ist, wenn und wann der Type Speicher entladen wird.

AllocateTypeAssociatedMemory(Type, Int32, Int32)

AllocateTypeAssociatedMemory(Type, Int32)

Quelle:
RuntimeHelpers.CoreCLR.cs
Quelle:
RuntimeHelpers.CoreCLR.cs
Quelle:
RuntimeHelpers.CoreCLR.cs
Quelle:
RuntimeHelpers.CoreCLR.cs
Quelle:
RuntimeHelpers.CoreCLR.cs

Weist Arbeitsspeicher zu, der dem type und dem freigegebenen Speicher zugeordnet ist, wenn und wann der Type Speicher entladen wird.

public:
 static IntPtr AllocateTypeAssociatedMemory(Type ^ type, int size);
public static IntPtr AllocateTypeAssociatedMemory(Type type, int size);
static member AllocateTypeAssociatedMemory : Type * int -> nativeint
Public Shared Function AllocateTypeAssociatedMemory (type As Type, size As Integer) As IntPtr

Parameter

type
Type

Der Typ, der dem zugeordneten Speicher zugeordnet ist.

size
Int32

Die Menge des zuzuordnenden Arbeitsspeichers in Byte.

Gibt zurück

IntPtr

nativeint

Der zugewiesene Speicher.

Gilt für:

AllocateTypeAssociatedMemory(Type, Int32, Int32)

Quelle:
RuntimeHelpers.CoreCLR.cs
public:
 static IntPtr AllocateTypeAssociatedMemory(Type ^ type, int size, int alignment);
public static IntPtr AllocateTypeAssociatedMemory(Type type, int size, int alignment);
static member AllocateTypeAssociatedMemory : Type * int * int -> nativeint
Public Shared Function AllocateTypeAssociatedMemory (type As Type, size As Integer, alignment As Integer) As IntPtr

Parameter

type
Type
size
Int32
alignment
Int32

Gibt zurück

IntPtr

nativeint

Gilt für: