RuntimeHelpers.AllocateTypeAssociatedMemory Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Sobrecargas
| Name | Description |
|---|---|
| AllocateTypeAssociatedMemory(Type, Int32) |
Aloca a memória associada ao |
| AllocateTypeAssociatedMemory(Type, Int32, Int32) |
AllocateTypeAssociatedMemory(Type, Int32)
- Origem:
- RuntimeHelpers.CoreCLR.cs
- Origem:
- RuntimeHelpers.CoreCLR.cs
- Origem:
- RuntimeHelpers.CoreCLR.cs
- Origem:
- RuntimeHelpers.CoreCLR.cs
- Origem:
- RuntimeHelpers.CoreCLR.cs
Aloca a memória associada ao type e é libertada se e quando o Type for descarregado.
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
Parâmetros
- type
- Type
O tipo associado à memória alocada.
- size
- Int32
A quantidade de memória a alocar, em bytes.
Devoluções
nativeint
A memória alocada.
Aplica-se a
AllocateTypeAssociatedMemory(Type, Int32, Int32)
- Origem:
- 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
Parâmetros
- type
- Type
- size
- Int32
- alignment
- Int32
Devoluções
nativeint