ISpeechRecognitionConstraint.IsEnabled 属性

定义

获取或设置 SpeechRecognizer 对象是否可以使用该约束来执行识别。

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

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

属性值

Boolean

bool

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

适用于

另请参阅