Udostępnij za pośrednictwem


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

Definicja

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

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

Parametry typu

T TFrom

Typ wektora wejściowego.

Typ wektora wejściowego.

U TTo

Typ, jako który powinien zostać ponownie zinterpretowany wektor vector .

Typ, jako który powinien zostać ponownie zinterpretowany wektor vector .

Parametry

vector
Vector64<T>

Wektor do ponownej interpretacji.

Zwraca

Vector64<TTo>

vector ponownie zinterpretowany jako Vector64<T> typ TTo.

Wyjątki

Typ vector (TFrom) lub typ elementu docelowego (TTo) nie jest obsługiwany.

Dotyczy