共用方式為


Vector128.WithLower<T>(Vector128<T>, Vector64<T>) 方法

定義

建立新的 Vector128<T>,其中下層 64 位元設定為指定值,且上層 64 位元則設定為與指定向量中值的相同值。

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

類型參數

T

輸入向量的型別。

參數

vector
Vector128<T>

要從其中取得上層 64 位元的向量。

value
Vector64<T>

作為 Vector64<T> 的下層 64 位元值。

傳回

新的 Vector128<T>,其中下層 64 位元設定為指定值,且上層 64 位元則設定為與 vector 中值的相同值。

例外狀況

不支援 vector (T) 的類型。

適用於