Compartir vía


Vector128.TryCopyTo<T>(Vector128<T>, Span<T>) Método

Definición

Intenta copiar un objeto Vector<T> en un intervalo determinado.

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

Parámetros de tipo

T

Tipo del vector de entrada.

Parámetros

vector
Vector128<T>

Vector que se va a copiar.

destination
Span<T>

Intervalo al que destination se copia.

Devoluciones

true es si vector se ha copiado correctamente en destination; de lo contrario, false si la longitud de destination es menor que Count.

Excepciones

No se admite el tipo de vector y destination (T).

Se aplica a