Method AddAsRef
AddAsRef<T>(nint, nint)
Adds an element offset to the given managed pointer.
public static ref T AddAsRef<T>(nint source, nint elementOffset)
Parameters
Returns
- T
A new managed pointer that reflects the addition of the specified offset to the source pointer.
Type Parameters
T
The elemental type of the managed pointer.
AddAsRef<T>(nuint, nuint)
Adds an element offset to the given managed pointer.
[CLSCompliant(false)]
public static ref T AddAsRef<T>(nuint source, nuint elementOffset)
Parameters
Returns
- T
A new managed pointer that reflects the addition of the specified offset to the source pointer.
Type Parameters
T
The elemental type of the managed pointer.