SemanticValue.ICollection<KeyValuePair<String,SemanticValue>>.CopyTo(KeyValuePair<String,SemanticValue>[], Int32) 方法

定义

将键/值对复制到目标数组中的特定位置。Copies a key/value pair to a specific location in a targeted array.

 virtual void System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.String,System.Speech.Recognition.SemanticValue>>.CopyTo(cli::array <System::Collections::Generic::KeyValuePair<System::String ^, System::Speech::Recognition::SemanticValue ^>> ^ array, int index) = System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Speech::Recognition::SemanticValue ^>>::CopyTo;
void ICollection<KeyValuePair<string,SemanticValue>>.CopyTo (System.Collections.Generic.KeyValuePair<string,System.Speech.Recognition.SemanticValue>[] array, int index);
Sub CopyTo (array As KeyValuePair(Of String, SemanticValue)(), index As Integer) Implements ICollection(Of KeyValuePair(Of String, SemanticValue)).CopyTo

参数

array
KeyValuePair<String,SemanticValue>[]

作为操作的目标的键/值对数组。The array of key/value pairs that is the target of the operation.

index
Int32

一个整数,它指定键/值对将复制到其中的数组中的位置。An integer that specifies the location in the array to which the key/value pair will be copied.

适用于