SpeechGrammarSet.HasKey Method

Determines whether the speech grammar set contains a specific grammar.

Syntax

public:
bool HasKey(
         String^ key
)  

Parameters

key
Type: String 

 The name of the grammar.

Return value

Type: bool 

 Returns true if the speech grammar set contains the grammar, false if not.

Requirements

Namespace: Windows.Xbox.Speech.Recognition

Metadata: windows.winmd

See also

Reference

SpeechGrammarSet Class

SpeechGrammarSet Members

Windows.Xbox.Speech.Recognition Namespace