Partager via


Note

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

SemanticValue Constructor (Object)

Initializes a new instance of the SemanticValue class and specifies a semantic value.

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

Syntax

'Declaration
Public Sub New ( _
    value As Object _
)
'Usage
Dim value As Object

Dim instance As New SemanticValue(value)
public SemanticValue(
    Object value
)

Parameters

Remarks

There are no restrictions on the type of value to be stored.

An application can retrieve value by using the Value property on a SemanticValue instance.

The value of the Confidence property for the SemanticValue instance will be set to -1.

A SemanticValue constructed with this method cannot be referenced by key name.

See Also

Reference

SemanticValue Class

SemanticValue Members

SemanticValue Overload

Microsoft.Speech.Recognition Namespace