Vector.AsVectorNInt<T>(Vector<T>) 方法

定义

将指定向量的位重新解释为本机大小整数向量的位。

public static System.Numerics.Vector<IntPtr> AsVectorNInt<T>(System.Numerics.Vector<T> value);
public static System.Numerics.Vector<nint> AsVectorNInt<T>(System.Numerics.Vector<T> value) where T : struct;
public static System.Numerics.Vector<IntPtr> AsVectorNInt<T>(System.Numerics.Vector<T> value) where T : struct;

类型参数

T

输入向量的类型。

参数

value
Vector<T>

要重新解释的向量。

返回

Vector<IntPtr>

重新解释为新的 Vector<T>value

例外

不支持 value 类型 (T)。

适用于

产品 版本
.NET 6, 7, 8, 9, 10