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

定義

重要

此 API 不符合 CLS 規範。

將指定向量的位元轉換成不帶正負號之 16 位元整數向量的位元。

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

類型參數

T

向量類型。 T 可以是任何基本數字型別。

參數

value
Vector<T>

來源向量。

傳回

已轉換的向量。

屬性

例外狀況

不支援 value (T) 的類型。

適用於