通过


SrgsDocument.Mode 属性

定义

获取或设置类的 SrgsDocument 模式。

public:
 property System::Speech::Recognition::SrgsGrammar::SrgsGrammarMode Mode { System::Speech::Recognition::SrgsGrammar::SrgsGrammarMode get(); void set(System::Speech::Recognition::SrgsGrammar::SrgsGrammarMode value); };
public System.Speech.Recognition.SrgsGrammar.SrgsGrammarMode Mode { get; set; }
member this.Mode : System.Speech.Recognition.SrgsGrammar.SrgsGrammarMode with get, set
Public Property Mode As SrgsGrammarMode

属性值

的识别模式 SrgsDocument

注解

Mode 属性返回一个成员,该成员 SrgsGrammarMode 确定所需的输入 SrgsDocument 类型。 这两个可能的值用于 Voice 语音输入,以及 Dtmf 通常与电话关联的双音多频(DTMF)音调的输入。

适用于

另请参阅