Determines whether the speech grammar set contains a specific grammar.
public:
bool HasKey(
String^ key
)
key
Type: String
The name of the grammar.
Type: bool
Returns true if the speech grammar set contains the grammar, false if not.
Namespace: Windows.Xbox.Speech.Recognition
Metadata: windows.winmd