Bagikan melalui


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

Definisi

Penting

API ini bukan kompatibel CLS.

Menginterpretrasi ulang bit vektor tertentu ke dalam vektor bilangan bulat 16-bit yang tidak ditandatangani.

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)

Jenis parameter

T

Jenis vektor. T dapat berupa jenis numerik primitif apa pun.

Parameter

value
Vector<T>

Vektor sumber.

Mengembalikan

Vektor yang diinterpreasi ulang.

Atribut

Pengecualian

Jenis value (T) tidak didukung.

Berlaku untuk