GrammarBuilder..::..Addition Operator (GrammarBuilder, String) |
GrammarBuilder Class See Also Send Feedback |
Creates a new GrammarBuilder that contains a GrammarBuilder followed by a phrase.
Namespace:
Microsoft.Speech.Recognition
Assembly:
Microsoft.Speech (in Microsoft.Speech.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Operator + ( _ builder As GrammarBuilder, _ phrase As String _ ) As GrammarBuilder |
Visual Basic (Usage) |
---|
Dim builder As GrammarBuilder Dim phrase As String Dim returnValue As GrammarBuilder returnValue = (builder + phrase) |
C# |
---|
public static GrammarBuilder operator +( GrammarBuilder builder, string phrase ) |
Parameters
- builder
- Type: Microsoft.Speech.Recognition..::..GrammarBuilder
The first grammar element.
- phrase
- Type: System..::..String
The second grammar element, which represents a sequence of words.
Return Value
Type: Microsoft.Speech.Recognition..::..GrammarBuilderReturns a GrammarBuilder for the sequence of the builder parameter followed by the phrase parameter.
Remarks
GrammarBuilder supports conversions from the following classes.
This method accepts the objects listed above for the builder parameter. For more information, see the ImplicitWideningImplicitImplicitImplicit operators.