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

Definition

Versucht, eine Vector<T> in eine bestimmte Spanne zu kopieren.

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

Typparameter

T

Der Typ des Eingabevektors.

Parameter

vector
Vector128<T>

Der zu kopierende Vektor.

destination
Span<T>

Die Spanne, in die destination kopiert wird.

Gibt zurück

true , wenn vector erfolgreich in destinationkopiert wurde, andernfalls, false wenn die Länge von destination kleiner als Countist.

Ausnahmen

Der Typ von vector und destination (T) wird nicht unterstützt.

Gilt für: