SemanticValue Constructor (Object)
Collapse the table of content
Expand the table of content

SemanticValue Constructor (Object)


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

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

public SemanticValue(
	object value


Type: System.Object

The information to be stored in the SemanticValue object.

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.

.NET Framework
Available since 3.0
Return to top
© 2016 Microsoft