Method FromRaw
FromRaw(T*)
Creates a PersistentPointerUninitialized<T> from a raw pointer.
Declaration
public static PersistentPointerUninitialized<T> FromRaw(T* raw)
Parameters
| Type | Name | Description |
|---|---|---|
| T* | raw | The raw pointer specifying the target that the resulting PersistentPointerUninitialized<T> will point to. |
Returns
| Type | Description |
|---|---|
| PersistentPointerUninitialized<T> | A PersistentPointerUninitialized<T> that points to the same target as the specified |
Implements
Remarks
The raw pointer must not be null. If it is, an ArgumentNullException will be thrown.
The resulting PersistentPointerUninitialized<T> will point to the same target as raw.
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|