MemoryHandle(Void*, GCHandle, IPinnable) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
Creates a new memory handle for the block of memory.
[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
Parameters
- pointer
- Void*
A pointer to memory.
- handle
- GCHandle
A handle used to pin array buffers.
- pinnable
- IPinnable
A reference to a manually managed object, or default
if there is no memory manager.
- Attributes
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.