Vector256.As<T,U>(Vector256<T>) Metoda
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Reinterpretuje Vector256<T> typ jako nowy Vector256<T> typ T
U
.
public:
generic <typename T, typename U>
where T : value class where U : value class[System::Runtime::CompilerServices::Extension]
static System::Runtime::Intrinsics::Vector256<U> As(System::Runtime::Intrinsics::Vector256<T> vector);
public:
generic <typename TFrom, typename TTo>
where TFrom : value class where TTo : value class[System::Runtime::CompilerServices::Extension]
static System::Runtime::Intrinsics::Vector256<TTo> As(System::Runtime::Intrinsics::Vector256<TFrom> vector);
public static System.Runtime.Intrinsics.Vector256<U> As<T,U> (this System.Runtime.Intrinsics.Vector256<T> vector) where T : struct where U : struct;
public static System.Runtime.Intrinsics.Vector256<TTo> As<TFrom,TTo> (this System.Runtime.Intrinsics.Vector256<TFrom> vector) where TFrom : struct where TTo : struct;
static member As : System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector256<'U (requires 'U : struct)> (requires 'T : struct and 'U : struct)
static member As : System.Runtime.Intrinsics.Vector256<'From (requires 'From : struct)> -> System.Runtime.Intrinsics.Vector256<'o (requires 'o : struct)> (requires 'From : struct and 'o : struct)
<Extension()>
Public Function As(Of T As Structure, U As Structure) (vector As Vector256(Of T)) As Vector256(Of U)
<Extension()>
Public Function As(Of TFrom As Structure, TTo As Structure) (vector As Vector256(Of TFrom)) As Vector256(Of TTo)
Parametry typu
- T
Typ wektora wejściowego.
- U
Typ, który wektor vector
powinien zostać ponownie zinterpretowany jako.
Parametry
- vector
- Vector256<T>
Wektor do ponownej interpretacji.
Zwraca
- Vector256<U>
- Vector256<TTo>
vector
ponownie zinterpretowany jako Vector256<T> typ U
.
Wyjątki
Typ () lub typ vector
obiektu docelowego (T
U
) nie jest obsługiwany.