共用方式為


Vector256.CopyTo 方法

定義

多載

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

從指定的索引開始,將 Vector256<T> 複製到指定的陣列。

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

Vector256<T> 複製到指定的陣列。

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

Vector256<T> 複製到指定的範圍。

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

來源:
Vector256.cs
來源:
Vector256.cs
來源:
Vector256.cs

從指定的索引開始,將 Vector256<T> 複製到指定的陣列。

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)

類型參數

T

向量中專案的型別。

參數

vector
Vector256<T>

要複製的向量。

destination
T[]

複製 vector 的陣列。

startIndex
Int32

將複製 vectordestination 的起始索引。

例外狀況

destination 長度小於 Count

destination null

startIndex 為負數或大於 destination長度。

不支援 vectordestination 類型(T)。

適用於

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

來源:
Vector256.cs
來源:
Vector256.cs
來源:
Vector256.cs

Vector256<T> 複製到指定的陣列。

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())

類型參數

T

向量中專案的型別。

參數

vector
Vector256<T>

要複製的向量。

destination
T[]

複製 vector 的陣列。

例外狀況

destination null

destination 長度小於 Count

不支援 vectordestination 類型(T)。

適用於

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

來源:
Vector256.cs
來源:
Vector256.cs
來源:
Vector256.cs

Vector256<T> 複製到指定的範圍。

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))

類型參數

T

向量中專案的型別。

參數

vector
Vector256<T>

要複製的向量。

destination
Span<T>

複製 vector 範圍。

例外狀況

destination 長度小於 Count

不支援 vectordestination 類型(T)。

適用於