SpeechRecognitionGrammarFileConstraint.IsEnabled 属性

定义

获取或设置语音识别器是否可以使用该约束来执行识别。

public:
 property bool IsEnabled { bool get(); void set(bool value); };
bool IsEnabled();

void IsEnabled(bool value);
public bool IsEnabled { get; set; }
var boolean = speechRecognitionGrammarFileConstraint.isEnabled;
speechRecognitionGrammarFileConstraint.isEnabled = boolean;
Public Property IsEnabled As Boolean

属性值

Boolean

bool

如果语音识别器可以使用约束执行识别,则其值为 True;否则为 false。

实现

适用于

另请参阅