Vector.AsVectorUInt16<T>(Vector<T>) Metod

Definition

Viktigt!

Detta API uppfyller inte CLS.

Omtolkar bitarna i en angiven vektor till en vektor med osignerade 16-bitars heltal.

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) (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)

Typparametrar

T

Vektortypen. T kan vara valfri primitiv numerisk typ.

Parametrar

value
Vector<T>

Källvektorn.

Returer

Den omtolkade vektorn.

Attribut

Undantag

Typen av value (T) stöds inte.

Gäller för