संपादित करें

इसके माध्यम से साझा किया गया


Vector256.CopyTo Method

Definition

Overloads

CopyTo<T>(Vector256<T>, T[], Int32)

Copies a Vector256<T> to a given array starting at the specified index.

CopyTo<T>(Vector256<T>, T[])

Copies a Vector256<T> to a given array.

CopyTo<T>(Vector256<T>, Span<T>)

Copies a Vector256<T> to a given span.

CopyTo<T>(Vector256<T>, T[], Int32)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

Copies a Vector256<T> to a given array starting at the specified index.

public:
generic <typename T>
 where T : value class[System::Runtime::CompilerServices::Extension]
 static void CopyTo(System::Runtime::Intrinsics::Vector256<T> vector, cli::array <T> ^ destination, int startIndex);
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static void CopyTo(System::Runtime::Intrinsics::Vector256<T> vector, cli::array <T> ^ destination, int startIndex);
public static void CopyTo<T> (this System.Runtime.Intrinsics.Vector256<T> vector, T[] destination, int startIndex) where T : struct;
public static void CopyTo<T> (this System.Runtime.Intrinsics.Vector256<T> vector, T[] destination, int startIndex);
static member CopyTo : System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> * 'T[] * int -> unit (requires 'T : struct)
static member CopyTo : System.Runtime.Intrinsics.Vector256<'T> * 'T[] * int -> unit
<Extension()>
Public Sub CopyTo(Of T As Structure) (vector As Vector256(Of T), destination As T(), startIndex As Integer)
<Extension()>
Public Sub CopyTo(Of T) (vector As Vector256(Of T), destination As T(), startIndex As Integer)

Type Parameters

T

The type of the elements in the vector.

Parameters

vector
Vector256<T>

The vector to be copied.

destination
T[]

The array to which vector is copied.

startIndex
Int32

The starting index of destination which vector will be copied to.

Exceptions

The length of destination is less than Count.

destination is null.

startIndex is negative or greater than the length of destination.

The type of vector and destination (T) is not supported.

Applies to

CopyTo<T>(Vector256<T>, T[])

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

Copies a Vector256<T> to a given array.

public:
generic <typename T>
 where T : value class[System::Runtime::CompilerServices::Extension]
 static void CopyTo(System::Runtime::Intrinsics::Vector256<T> vector, cli::array <T> ^ destination);
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static void CopyTo(System::Runtime::Intrinsics::Vector256<T> vector, cli::array <T> ^ destination);
public static void CopyTo<T> (this System.Runtime.Intrinsics.Vector256<T> vector, T[] destination) where T : struct;
public static void CopyTo<T> (this System.Runtime.Intrinsics.Vector256<T> vector, T[] destination);
static member CopyTo : System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> * 'T[] -> unit (requires 'T : struct)
static member CopyTo : System.Runtime.Intrinsics.Vector256<'T> * 'T[] -> unit
<Extension()>
Public Sub CopyTo(Of T As Structure) (vector As Vector256(Of T), destination As T())
<Extension()>
Public Sub CopyTo(Of T) (vector As Vector256(Of T), destination As T())

Type Parameters

T

The type of the elements in the vector.

Parameters

vector
Vector256<T>

The vector to be copied.

destination
T[]

The array to which vector is copied.

Exceptions

destination is null.

The length of destination is less than Count.

The type of vector and destination (T) is not supported.

Applies to

CopyTo<T>(Vector256<T>, Span<T>)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

Copies a Vector256<T> to a given span.

public:
generic <typename T>
 where T : value class[System::Runtime::CompilerServices::Extension]
 static void CopyTo(System::Runtime::Intrinsics::Vector256<T> vector, Span<T> destination);
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static void CopyTo(System::Runtime::Intrinsics::Vector256<T> vector, Span<T> destination);
public static void CopyTo<T> (this System.Runtime.Intrinsics.Vector256<T> vector, Span<T> destination) where T : struct;
public static void CopyTo<T> (this System.Runtime.Intrinsics.Vector256<T> vector, Span<T> destination);
static member CopyTo : System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> * Span<'T (requires 'T : struct)> -> unit (requires 'T : struct)
static member CopyTo : System.Runtime.Intrinsics.Vector256<'T> * Span<'T> -> unit
<Extension()>
Public Sub CopyTo(Of T As Structure) (vector As Vector256(Of T), destination As Span(Of T))
<Extension()>
Public Sub CopyTo(Of T) (vector As Vector256(Of T), destination As Span(Of T))

Type Parameters

T

The type of the elements in the vector.

Parameters

vector
Vector256<T>

The vector to be copied.

destination
Span<T>

The span to which the vector is copied.

Exceptions

The length of destination is less than Count.

The type of vector and destination (T) is not supported.

Applies to