Vector128.CopyTo 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
陣列。
例外狀況
destination
為 null
。
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
將複製到其中的destination
vector
起始索引。
例外狀況
destination
的長度小於 Count。
destination
為 null
。
startIndex
為負數或大於 destination
的長度。
不支援和 destination
() T
的類型vector
。