MemoryHandle(Void*, GCHandle, IPinnable) 생성자

정의

Important

이 API는 CLS 규격이 아닙니다.

메모리 블록에 대한 새 메모리 핸들을 만듭니다.

[System.CLSCompliant(false)]
public MemoryHandle(void* pointer, System.Runtime.InteropServices.GCHandle handle = default, System.Buffers.IPinnable? pinnable = default);
[System.CLSCompliant(false)]
public MemoryHandle(void* pointer, System.Runtime.InteropServices.GCHandle handle = default, System.Buffers.IPinnable pinnable = default);
[<System.CLSCompliant(false)>]
new System.Buffers.MemoryHandle : nativeptr<unit> * System.Runtime.InteropServices.GCHandle * System.Buffers.IPinnable -> System.Buffers.MemoryHandle

매개 변수

pointer
Void*

메모리에 대한 포인터입니다.

handle
GCHandle

배열 버퍼를 고정하는 데 사용되는 핸들입니다.

pinnable
IPinnable

수동으로 관리되는 개체에 대한 참조이거나 default 메모리 관리자가 없는 경우

특성

적용 대상