共用方式為


Vector128.CopyTo 方法

定義

多載

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

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

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

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

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

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

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

來源:
Vector128.cs
來源:
Vector128.cs
來源:
Vector128.cs

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

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

類型參數

T

向量中專案的型別。

參數

vector
Vector128<T>

要複製的向量。

destination
Span<T>

要複製到其中的 vector 範圍。

例外狀況

destination 的長度小於 Count

不支援和 destination () T 的類型vector

適用於

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

來源:
Vector128.cs
來源:
Vector128.cs
來源:
Vector128.cs

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

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

類型參數

T

向量中專案的型別。

參數

vector
Vector128<T>

要複製的向量。

destination
T[]

要複製到其中的 vector 陣列。

例外狀況

destinationnull

destination 的長度小於 Count

不支援和 destination () T 的類型vector

適用於

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

來源:
Vector128.cs
來源:
Vector128.cs
來源:
Vector128.cs

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

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

類型參數

T

向量中專案的型別。

參數

vector
Vector128<T>

要複製的向量。

destination
T[]

要複製到其中的 vector 陣列。

startIndex
Int32

將複製到其中的destinationvector起始索引。

例外狀況

destination 的長度小於 Count

destinationnull

startIndex 為負數或大於 destination 的長度。

不支援和 destination () T 的類型vector

適用於