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.
Производ | Верзије |
---|---|
.NET | 6, 7, 8, 9, 10 |
Сарађујте са нама на GitHub-у
Извор овог садржаја можете пронаћи на платформи GitHub, где можете и да креирате и прегледате проблеме и захтеве за повлачењем. Више информација потражите у нашем водичу за сараднике.
.NET повратне информације
.NET је пројекат отвореног кода. Изаберите везу да бисте обезбедили повратне информације: