Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface System.​Buffers.​IPinnable
Assembly: System.Runtime
Provides a mechanism for pinning and unpinning objects to prevent the garbage collector from moving them.
Methods
Returns A handle to the block of memory.
elementIndex
The offset to the element within the memory buffer to which the returned <see cref="T:System.Buffers.MemoryHandle" /> points.
void
Unpin​()
Frees a block of pinned memory.