RuntimeHelpers.AllocateTypeAssociatedMemory(Type, Int32) 메서드

정의

만약 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

할당된 메모리.

적용 대상