Aracılığıyla paylaş


RuntimeHelpers.AllocateTypeAssociatedMemory Yöntem

Tanım

Aşırı Yüklemeler

Name Description
AllocateTypeAssociatedMemory(Type, Int32)

ile type ilişkilendirilmiş olan ve kaldırıldığında Type serbest olan belleği ayırır.

AllocateTypeAssociatedMemory(Type, Int32, Int32)

AllocateTypeAssociatedMemory(Type, Int32)

Kaynak:
RuntimeHelpers.CoreCLR.cs
Kaynak:
RuntimeHelpers.CoreCLR.cs
Kaynak:
RuntimeHelpers.CoreCLR.cs
Kaynak:
RuntimeHelpers.CoreCLR.cs

ile type ilişkilendirilmiş olan ve kaldırıldığında Type serbest olan belleği ayırır.

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

Parametreler

type
Type

Ayrılan bellekle ilişkili tür.

size
Int32

Ayrılacak bellek miktarı (bayt cinsinden).

Döndürülenler

IntPtr

nativeint

Ayrılan bellek.

Şunlara uygulanır

AllocateTypeAssociatedMemory(Type, Int32, Int32)

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

Parametreler

type
Type
size
Int32
alignment
Int32

Döndürülenler

IntPtr

nativeint

Şunlara uygulanır