MemoryHandle.Pointer Property

Definition

Important

This API is not CLS-compliant.

Returns a pointer to the memory block.

public:
 property void* Pointer { void* get(); };
[System.CLSCompliant(false)]
public void* Pointer { get; }
[<System.CLSCompliant(false)>]
member this.Pointer : nativeptr<unit>

Property Value

Void*

A pointer to the memory block.

Attributes

Remarks

The memory is assumed to be pinned so that its address won't change.

Applies to