RuntimeHelpers.AllocateTypeAssociatedMemory 메서드

정의

오버로드

Name Description
AllocateTypeAssociatedMemory(Type, Int32)

연결된 type 메모리를 할당하고 언로드될 때 Type 해제됩니다.

AllocateTypeAssociatedMemory(Type, Int32, Int32)

AllocateTypeAssociatedMemory(Type, Int32)

Source:
RuntimeHelpers.CoreCLR.cs
Source:
RuntimeHelpers.CoreCLR.cs
Source:
RuntimeHelpers.CoreCLR.cs
Source:
RuntimeHelpers.CoreCLR.cs
Source:
RuntimeHelpers.CoreCLR.cs

연결된 type 메모리를 할당하고 언로드될 때 Type 해제됩니다.

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

매개 변수

type
Type

할당된 메모리와 연결된 형식입니다.

size
Int32

할당할 메모리 양(바이트)입니다.

반품

IntPtr

nativeint

할당된 메모리입니다.

적용 대상

AllocateTypeAssociatedMemory(Type, Int32, Int32)

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

매개 변수

type
Type
size
Int32
alignment
Int32

반품

IntPtr

nativeint

적용 대상