GrammarBuilder::Addition Operator (GrammarBuilder^, String^)

 
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: