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