Method FromUIntPtr
FromUIntPtr(nuint)
Creates a PersistentPointerUninitialized<T> from a memory address given as a nint.
Declaration
public static PersistentPointerUninitialized<T> FromUIntPtr(nuint value)
Parameters
| Type | Name | Description |
|---|---|---|
| nuint | value | The memory address to create a PersistentPointerUninitialized<T> from. |
Returns
| Type | Description |
|---|---|
| PersistentPointerUninitialized<T> | A PersistentPointerUninitialized<T> that points to the same memory address as the specified |
Implements
Remarks
The value must not be 0. If it is, an ArgumentNullException will be thrown.
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|