RuntimeHelpers.AllocateTypeAssociatedMemory Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Overloads
| Name | Description |
|---|---|
| AllocateTypeAssociatedMemory(Type, Int32) |
Wijst geheugen toe dat is gekoppeld aan de |
| AllocateTypeAssociatedMemory(Type, Int32, Int32) |
AllocateTypeAssociatedMemory(Type, Int32)
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
nativeint
Het toegewezen geheugen.
Van toepassing op
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
Parameters
- type
- Type
- size
- Int32
- alignment
- Int32
Retouren
nativeint