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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.