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>)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- 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[])
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- 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)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- 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。
              destination 为 null。
              startIndex 为负或大于 destination 的长度。
不支持 和 destination (T) 的类型vector。