Bagikan melalui


Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

SemanticValue.ICollection<KeyValuePair<String, SemanticValue>>.CopyTo Method

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

'Declaration
Private Sub CopyTo ( _
    array As KeyValuePair(Of String, SemanticValue)(), _
    index As Integer _
) Implements ICollection(Of KeyValuePair(Of String, SemanticValue)).CopyTo
'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)
void ICollection<KeyValuePair<string, SemanticValue>>.CopyTo(
    KeyValuePair<string, SemanticValue>[] array,
    int index
)

Parameters

  • array
    Type: []
    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<T>.CopyTo([], Int32)

See Also

Reference

SemanticValue Class

SemanticValue Members

Microsoft.Speech.Recognition Namespace