GrammarBuilder.Addition Operator (GrammarBuilder, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

equivalentCodeEntityM:System.Speech.Recognition.GrammarBuilder.Add(System.Speech.Recognition.GrammarBuilder,System.String)

Creates a new GrammarBuilder that contains a GrammarBuilder followed by a phrase.

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

public static GrammarBuilder operator +(
	GrammarBuilder builder,
	string phrase
)

Parameters

builder
Type: System.Speech.Recognition.GrammarBuilder

The first grammar element.

phrase
Type: System.String

The second grammar element, which represents a sequence of words.

Return Value

Type: System.Speech.Recognition.GrammarBuilder

Returns a GrammarBuilder for the sequence of the builder parameter followed by the phrase parameter.

GrammarBuilder supports conversions from the following classes.

This method accepts the objects listed above for the builder parameter. For more information, see the Implicit operators.

.NET Framework
Available since 3.0
Return to top
Show: