RuntimeHelpers.AllocateTypeAssociatedMemory Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| AllocateTypeAssociatedMemory(Type, Int32) |
Weist Arbeitsspeicher zu, der dem |
| 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
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
nativeint