語言

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

定義

重要

此 API 不符合 CLS 規範。

將指定向量的位元重新詮釋為有符號位元組向量的位元。

public:
generic <typename T>
 where T : value class static System::Numerics::Vector<System::SByte> AsVectorSByte(System::Numerics::Vector<T> value);
public:
generic <typename T>
 static System::Numerics::Vector<System::SByte> AsVectorSByte(System::Numerics::Vector<T> value);
[System.CLSCompliant(false)]
public static System.Numerics.Vector<sbyte> AsVectorSByte<T>(System.Numerics.Vector<T> value) where T : struct;
[System.CLSCompliant(false)]
public static System.Numerics.Vector<sbyte> AsVectorSByte<T>(System.Numerics.Vector<T> value);
[<System.CLSCompliant(false)>]
static member AsVectorSByte : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<sbyte> (requires 'T : struct)
[<System.CLSCompliant(false)>]
static member AsVectorSByte : System.Numerics.Vector<'T> -> System.Numerics.Vector<sbyte>
Public Shared Function AsVectorSByte(Of T As Structure) (value As Vector(Of T)) As Vector(Of SByte)
Public Function AsVectorSByte(Of T) (value As Vector(Of T)) As Vector(Of SByte)
Public Function AsVectorSByte(Of T As Structure) (value As Vector(Of T)) As Vector(Of SByte)

類型參數

T

向量類型。 T 可以是任何原始數值類型。

參數

value
Vector<T>

來源向量。

傳回

重新詮釋的向量。

屬性

例外狀況

不支援()的valueT類型。

適用於