RuntimeHelpers.AllocateTypeAssociatedMemory Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
| Name | Description |
|---|---|
| AllocateTypeAssociatedMemory(Type, Int32) |
ile |
| 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
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
nativeint