Vector256.AsByte<T>(Vector256<T>) Metoda

Definice

Reinterpretuje Vector256<T> jako nový Vector256 typ Byte.

public:
generic <typename T>
 where T : value class[System::Runtime::CompilerServices::Extension]
 static System::Runtime::Intrinsics::Vector256<System::Byte> AsByte(System::Runtime::Intrinsics::Vector256<T> vector);
public static System.Runtime.Intrinsics.Vector256<byte> AsByte<T> (this System.Runtime.Intrinsics.Vector256<T> vector) where T : struct;
static member AsByte : System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector256<byte> (requires 'T : struct)
<Extension()>
Public Function AsByte(Of T As Structure) (vector As Vector256(Of T)) As Vector256(Of Byte)

Parametry typu

T

Typ vstupního vektoru.

Parametry

vector
Vector256<T>

Vektor, který se má reinterpretovat.

Návraty

Vector256<Byte>

vector re interpretováno jako nový Vector256 typ Byte.

Výjimky

Typ vector (T) není podporován.

Platí pro