Vector.As<TFrom,TTo>(Vector<TFrom>) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
generic <typename TFrom, typename TTo>
[System::Runtime::CompilerServices::Extension]
static System::Numerics::Vector<TTo> As(System::Numerics::Vector<TFrom> vector);
public:
generic <typename TFrom, typename TTo>
where TFrom : value class where TTo : value class[System::Runtime::CompilerServices::Extension]
static System::Numerics::Vector<TTo> As(System::Numerics::Vector<TFrom> vector);
C#
public static System.Numerics.Vector<TTo> As<TFrom,TTo>(this System.Numerics.Vector<TFrom> vector);
C#
public static System.Numerics.Vector<TTo> As<TFrom,TTo>(this System.Numerics.Vector<TFrom> vector) where TFrom : struct where TTo : struct;
static member As : System.Numerics.Vector<'From> -> System.Numerics.Vector<'o>
static member As : System.Numerics.Vector<'From (requires 'From : struct)> -> System.Numerics.Vector<'o (requires 'o : struct)> (requires 'From : struct and 'o : struct)
<Extension()>
Public Function As(Of TFrom, TTo) (vector As Vector(Of TFrom)) As Vector(Of TTo)
<Extension()>
Public Function As(Of TFrom As Structure, TTo As Structure) (vector As Vector(Of TFrom)) As Vector(Of TTo)
- TFrom
The type of the input vector.
- TTo
The type of the vector vector
should be reinterpreted as.
- vector
- Vector<TFrom>
The vector to reinterpret.
Vector<TTo>
vector
reinterpreted as a new Vector<T>.
The type of vector
(TFrom
) or the type of the target (TTo
) is not supported.
Proizvod | Verzije |
---|---|
.NET | 6, 7, 8, 9, 10 |
Sarađujte s nama na GitHub-u
Izvor za ovaj sadržaj može se naći na usluzi GitHub, gdje takođe možete da kreirate i pregledate probleme i povučete zahtjeve. Za više informacija pogledajte naš vodič za saradnike.
.NET povratne informacije
.NET je projekat otvorenog koda. Odaberite vezu za pružanje povratnih informacija: