Vector128.AsNInt<T>(Vector128<T>) Method

Definition

Reinterprets a Vector128<T> as a new Vector128<T>.

C#
public static System.Runtime.Intrinsics.Vector128<IntPtr> AsNInt<T>(this System.Runtime.Intrinsics.Vector128<T> vector) where T : struct;
C#
public static System.Runtime.Intrinsics.Vector128<IntPtr> AsNInt<T>(this System.Runtime.Intrinsics.Vector128<T> vector);

Type Parameters

T

The type of the input vector.

Parameters

vector
Vector128<T>

The vector to reinterpret.

Returns

Vector128<IntPtr>

vector reinterpreted as a new Vector128<T>.

Exceptions

The type of vector (T) is not supported.

Applies to

Product Versions
.NET 7, 8, 9