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