Bagikan melalui


Vector128.WithUpper<T>(Vector128<T>, Vector64<T>) Metode

Definisi

Membuat baru Vector128<T> dengan 64-bit atas yang diatur ke nilai yang ditentukan dan 64-bit yang lebih rendah diatur ke nilai yang sama seperti yang ada di vektor yang diberikan.

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

Jenis parameter

T

Jenis vektor input.

Parameter

vector
Vector128<T>

Vektor untuk mendapatkan 64-bit yang lebih rendah dari.

value
Vector64<T>

Bagian atas 64-bit.

Mengembalikan

Baru Vector128<T> dengan 64-bit atas diatur ke nilai yang ditentukan dan 64-bit yang lebih rendah diatur ke yang ada di vector.

Pengecualian

Tipe vector (T) tidak didukung.

Berlaku untuk