Share via


GrammarBuilder.Append Method (SemanticResultValue)

Appends an instance of SemanticResultValue to the current GrammarBuilder.

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

Syntax

'Declaration
Public Sub Append ( _
    value As SemanticResultValue _
)
public void Append (
    SemanticResultValue value
)
public:
void Append (
    SemanticResultValue^ value
)
public void Append (
    SemanticResultValue value
)
public function Append (
    value : SemanticResultValue
)

Parameters

Remarks

The logic of each element appended to a GrammarBuilder is applied by recognition engines in the order in which it was appended.

Care should be taken when appending a SemanticResultValue instance to an existing GrammarBuilder object.

An exception will be thrown during the use of a Grammar generated from a GrammarBuilder if that GrammarBuilder include instances of SemanticResultValue that would require repeated modifications of the Value property of the one of the SemanticValue objects returned by a recognition operation.

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

See Also

Reference

GrammarBuilder Class
GrammarBuilder Members
Microsoft.Speech.Recognition Namespace