Vector.As<TFrom,TTo>(Vector<TFrom>) 메서드

정의

Vector<T>을 새로운 Vector<T>로 재해석합니다.

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);
public:
generic <typename TFrom, typename TTo>
[System::Runtime::CompilerServices::Extension]
 static System::Numerics::Vector<TTo> As(System::Numerics::Vector<TFrom> vector);
public static System.Numerics.Vector<TTo> As<TFrom,TTo> (this System.Numerics.Vector<TFrom> vector) where TFrom : struct where TTo : struct;
public static System.Numerics.Vector<TTo> As<TFrom,TTo> (this System.Numerics.Vector<TFrom> vector);
static member As : System.Numerics.Vector<'From (requires 'From : struct)> -> System.Numerics.Vector<'o (requires 'o : struct)> (requires 'From : struct and 'o : struct)
static member As : System.Numerics.Vector<'From> -> System.Numerics.Vector<'o>
<Extension()>
Public Function As(Of TFrom As Structure, TTo As Structure) (vector As Vector(Of TFrom)) As Vector(Of TTo)
<Extension()>
Public Function As(Of TFrom, TTo) (vector As Vector(Of TFrom)) As Vector(Of TTo)

형식 매개 변수

TFrom

입력 벡터의 형식입니다.

TTo

벡터 vector 의 형식을 로 재해석해야 합니다.

매개 변수

vector
Vector<TFrom>

재해석할 벡터입니다.

반환

Vector<TTo>

vector를 새로운 Vector<T>로 재해석합니다.

예외

vector(TFrom)의 형식 또는 대상의 유형(TTo)이 지원되지 않습니다.

적용 대상