ICollection(KeyValuePair(String, SemanticValue)).CopyTo Method

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

Copies a key/value pair to a specific location in a targeted array.

Namespace:  Microsoft.Speech.Recognition
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)

Syntax

Visual Basic (Declaration)
Private Sub CopyTo ( _
	array As KeyValuePair(Of String, SemanticValue)(), _
	index As Integer _
) Implements ICollection(Of KeyValuePair(Of String, SemanticValue)).CopyTo
Visual Basic (Usage)
Dim instance As SemanticValue
Dim array As KeyValuePair(Of String, SemanticValue)()
Dim index As Integer

CType(instance, ICollection(Of KeyValuePair(Of String, SemanticValue))).CopyTo(array, _
	index)
C#
void ICollection<KeyValuePair<string, SemanticValue>>.CopyTo(
	KeyValuePair<string, SemanticValue>[] array,
	int index
)

Parameters

array
Type: array<System.Collections.Generic..::..KeyValuePair<(Of <(<'String, SemanticValue>)>)>>[]()[][]

The array of key/value pairs that is the target of the operation.

index
Type: System..::..Int32

An integer that specifies the location in the array to which the key/value pair will be copied.

Implements

ICollection<(Of <(<'T>)>)>..::..CopyTo(array<T>[]()[][], Int32)

See Also