Comparteix a través de


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

Parámetros de tipo

T

Tipo del vector de entrada.

Parámetros

vector
Vector256<T>

Vector que se va a copiar.

destination
Span<T>

Intervalo en el que destination se copia.

Devoluciones

true si vector se copió 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