Bagikan melalui


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

Definisi

Penting

API ini bukan kompatibel CLS.

Menginterpretrasi ulang bit vektor tertentu ke dalam vektor byte yang ditandatangani.

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

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