SpeechGrammar.Enabled property

Gets or sets whether the grammar can be used by the speech recognizer to perform recognition.

Syntax

public bool Enabled { get; set; }
Public Property Enabled As Boolean
public:
property bool Enabled { 
   bool get();
   void set (bool value);
}

Property value

Type: System.Boolean [.NET] | Platform::Boolean [C++]

The Enabled property returns true if a speech recognizer can perform recognition using the speech recognition grammar; otherwise the property returns false.

Remarks

For more information about how to use the Enabled property, see Managing loaded grammars to optimize recognition for Windows Phone.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.Speech.Recognition Windows::Phone::Speech::Recognition [C++]

Metadata

Windows.WinMD

Capabilities

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

See also

SpeechGrammar