Información
El tema que ha solicitado se muestra abajo. Sin embargo, este tema no se encuentra en la biblioteca.

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: Boolean

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

Remarks

The name of a SpeechGrammar object is set as the value of the key parameter in any of the three AddGrammar methods: AddGrammarFromList, AddGrammarFromUri, and AddGrammarFromPredefinedType.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows::Phone::Speech::Recognition

Metadata

Windows.WinMD

Capabilities

ID_CAP_SPEECH_RECOGNITION [Windows Phone]
ID_CAP_MICROPHONE [Windows Phone]
ID_CAP_NETWORKING [Windows Phone]

See also

SpeechGrammarSet

 

 

Mostrar: