Vector256.AsSByte<T>(Vector256<T>) 方法

定义

重要

此 API 不符合 CLS。

Vector256<T> 重新解释为 SByte 类型的新 Vector256Reinterprets a Vector256<T> as a new Vector256 of type SByte.

public:
generic <typename T>
 where T : value class[System::Runtime::CompilerServices::Extension]
 static System::Runtime::Intrinsics::Vector256<System::SByte> AsSByte(System::Runtime::Intrinsics::Vector256<T> vector);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<sbyte> AsSByte<T> (this System.Runtime.Intrinsics.Vector256<T> vector) where T : struct;
[<System.CLSCompliant(false)>]
static member AsSByte : System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector256<sbyte> (requires 'T : struct)
<Extension()>
Public Function AsSByte(Of T As Structure) (vector As Vector256(Of T)) As Vector256(Of SByte)

类型参数

T

输入向量的类型。The type of the input vector.

参数

vector
Vector256<T>

要重新解释的向量。The vector to reinterpret.

返回

Vector256<SByte>

vector 重新解释为 SByte 类型的新 Vector256vector reinterpreted as a new Vector256 of type SByte.

属性

例外

不支持 vector 类型 (T)。The type of vector (T) is not supported.

适用于