Vector128.TryCopyTo<T>(Vector128<T>, Span<T>) Metoda

Definice

Pokusí se zkopírovat Vector<T> do daného rozsahu.

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

Parametry typu

T

Typ vstupního vektoru.

Parametry

vector
Vector128<T>

Vektor, který se má zkopírovat.

destination
Span<T>

Rozsah, do kterého destination se zkopíruje.

Návraty

true pokud vector byla úspěšně zkopírována do destination, v opačném případě, false pokud je délka destination menší než Count.

Výjimky

Typ vector a destination (T) není podporován.

Platí pro