SpeechGrammarBuilderRuleSet.AddChoiceRule Method (String)

Add a choice rule using a key.

Syntax

public:
SpeechChoiceRule^ AddChoiceRule(
         String^ key
)  

Parameters

key
Type: String 

 The key.

Return value

Type: SpeechChoiceRule 

The SpeechChoiceRule object associated with the specified key.

Requirements

Namespace: Windows.Xbox.Speech.Recognition

Metadata: windows.winmd

See also

Reference

SpeechGrammarBuilderRuleSet Class

SpeechGrammarBuilderRuleSet Members

Windows.Xbox.Speech.Recognition Namespace