Język

Vector128.As<T,U>(Vector128<T>) Metoda

Definicja

Ponownie interpretuje Vector128<T> typ TFrom jako nowy Vector128<T> typ TTo.

public:
generic <typename TFrom, typename TTo>
[System::Runtime::CompilerServices::Extension]
 static System::Runtime::Intrinsics::Vector128<TTo> As(System::Runtime::Intrinsics::Vector128<TFrom> vector);
public:
generic <typename T, typename U>
 where T : value class where U : value class[System::Runtime::CompilerServices::Extension]
 static System::Runtime::Intrinsics::Vector128<U> As(System::Runtime::Intrinsics::Vector128<T> vector);
public:
generic <typename TFrom, typename TTo>
 where TFrom : value class where TTo : value class[System::Runtime::CompilerServices::Extension]
 static System::Runtime::Intrinsics::Vector128<TTo> As(System::Runtime::Intrinsics::Vector128<TFrom> vector);
public static System.Runtime.Intrinsics.Vector128<TTo> As<TFrom,TTo>(this System.Runtime.Intrinsics.Vector128<TFrom> vector);
public static System.Runtime.Intrinsics.Vector128<U> As<T,U>(this System.Runtime.Intrinsics.Vector128<T> vector) where T : struct where U : struct;
public static System.Runtime.Intrinsics.Vector128<TTo> As<TFrom,TTo>(this System.Runtime.Intrinsics.Vector128<TFrom> vector) where TFrom : struct where TTo : struct;
static member As : System.Runtime.Intrinsics.Vector128<'From> -> System.Runtime.Intrinsics.Vector128<'o>
static member As : System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector128<'U (requires 'U : struct)> (requires 'T : struct and 'U : struct)
static member As : System.Runtime.Intrinsics.Vector128<'From (requires 'From : struct)> -> System.Runtime.Intrinsics.Vector128<'o (requires 'o : struct)> (requires 'From : struct and 'o : struct)
<Extension()>
Public Function As(Of TFrom, TTo) (vector As Vector128(Of TFrom)) As Vector128(Of TTo)
<Extension()>
Public Function As(Of T As Structure, U As Structure) (vector As Vector128(Of T)) As Vector128(Of U)
<Extension()>
Public Function As(Of TFrom As Structure, TTo As Structure) (vector As Vector128(Of TFrom)) As Vector128(Of TTo)

Parametry typu

TFrom T

Typ wektora wejściowego.

Typ wektora wejściowego.

TTo U

Typ, wektor vector powinien zostać ponownie zinterpretowany jako.

Typ, wektor vector powinien zostać ponownie zinterpretowany jako.

Parametry

vector
Vector128<T>

Wektor do ponownej interpretacji.

Zwraca

Vector128<TTo>

vector ponownie zinterpretowany jako Vector128<T> typ TTo.

Wyjątki

Typ () lub typ vector obiektu docelowego (TFromTTo) nie jest obsługiwany.

Dotyczy