RuntimeHelpers.AllocateTypeAssociatedMemory Methode

Definitie

Overloads

Name Description
AllocateTypeAssociatedMemory(Type, Int32)

Wijst geheugen toe dat is gekoppeld aan de type en wordt vrijgemaakt als en wanneer de Type is uitgeladen.

AllocateTypeAssociatedMemory(Type, Int32, Int32)

AllocateTypeAssociatedMemory(Type, Int32)

Bron:
RuntimeHelpers.CoreCLR.cs
Bron:
RuntimeHelpers.CoreCLR.cs
Bron:
RuntimeHelpers.CoreCLR.cs
Bron:
RuntimeHelpers.CoreCLR.cs
Bron:
RuntimeHelpers.CoreCLR.cs

Wijst geheugen toe dat is gekoppeld aan de type en wordt vrijgemaakt als en wanneer de Type is uitgeladen.

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

Parameters

type
Type

Het type dat is gekoppeld aan het toegewezen geheugen.

size
Int32

De hoeveelheid geheugen die moet worden toegewezen in bytes.

Retouren

IntPtr

nativeint

Het toegewezen geheugen.

Van toepassing op

AllocateTypeAssociatedMemory(Type, Int32, Int32)

Bron:
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

Parameters

type
Type
size
Int32
alignment
Int32

Retouren

IntPtr

nativeint

Van toepassing op