Vector128.As<T,U>(Vector128<T>) Method
Definition
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.
Reinterprets a Vector128<T> of type TFrom
as a new Vector128<T> of type TTo
.
public:
generic <typename T, typename U>
where T : value class where U : value class[System::Runtime::CompilerServices::Extension]
static System::Runtime::Intrinsics::Vector128<U> As(System::Runtime::Intrinsics::Vector128<T> vector);
public:
generic <typename TFrom, typename TTo>
where TFrom : value class where TTo : value class[System::Runtime::CompilerServices::Extension]
static System::Runtime::Intrinsics::Vector128<TTo> As(System::Runtime::Intrinsics::Vector128<TFrom> vector);
public:
generic <typename TFrom, typename TTo>
[System::Runtime::CompilerServices::Extension]
static System::Runtime::Intrinsics::Vector128<TTo> As(System::Runtime::Intrinsics::Vector128<TFrom> vector);
public static System.Runtime.Intrinsics.Vector128<U> As<T,U> (this System.Runtime.Intrinsics.Vector128<T> vector) where T : struct where U : struct;
public static System.Runtime.Intrinsics.Vector128<TTo> As<TFrom,TTo> (this System.Runtime.Intrinsics.Vector128<TFrom> vector) where TFrom : struct where TTo : struct;
public static System.Runtime.Intrinsics.Vector128<TTo> As<TFrom,TTo> (this System.Runtime.Intrinsics.Vector128<TFrom> vector);
static member As : System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector128<'U (requires 'U : struct)> (requires 'T : struct and 'U : struct)
static member As : System.Runtime.Intrinsics.Vector128<'From (requires 'From : struct)> -> System.Runtime.Intrinsics.Vector128<'o (requires 'o : struct)> (requires 'From : struct and 'o : struct)
static member As : System.Runtime.Intrinsics.Vector128<'From> -> System.Runtime.Intrinsics.Vector128<'o>
<Extension()>
Public Function As(Of T As Structure, U As Structure) (vector As Vector128(Of T)) As Vector128(Of U)
<Extension()>
Public Function As(Of TFrom As Structure, TTo As Structure) (vector As Vector128(Of TFrom)) As Vector128(Of TTo)
<Extension()>
Public Function As(Of TFrom, TTo) (vector As Vector128(Of TFrom)) As Vector128(Of TTo)
Type Parameters
- T TFrom
The type of the input vector.
The type of the input vector.
- U TTo
The type that the vector vector
should be reinterpreted as.
The type that the vector vector
should be reinterpreted as.
Parameters
- vector
- Vector128<T>
The vector to reinterpret.
Returns
vector
reinterpreted as a Vector128<T> of type TTo
.
Exceptions
The type of vector
(TFrom
) or the type of the target (TTo
) is not supported.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示