RuntimeHelpers.AllocateTypeAssociatedMemory(Type, Int32) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
만약 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
할당된 메모리.