导出 (0) 打印
全部展开

SrgsDocument.Mode 属性

Gets or sets the mode for the SrgsDocument class.

命名空间: System.Speech.Recognition.SrgsGrammar
程序集: System.Speech(在 system.speech.dll 中)

public SrgsGrammarMode Mode { get; set; }
/** @property */
public SrgsGrammarMode get_Mode ()

/** @property */
public void set_Mode (SrgsGrammarMode value)

public function get Mode () : SrgsGrammarMode

public function set Mode (value : SrgsGrammarMode)

不适用。

属性值

An SrgsGrammarMode value that describes the current mode of SrgsDocument.

The Mode is of type SrgsGrammarMode and is used to inform SrgsDocument of the type of input to expect. The two possible values are Voice and Dtmf. Voice input consists of spoken words, while Dtmf input consists of dual tone multi-frequency (DTMF) tones that are commonly associated with a telephone.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

Windows Vista、Microsoft Windows XP SP2 和 Windows Server 2003 SP1 支持 Microsoft .NET Framework 3.0。

.NET Framework

受以下版本支持:3.0

社区附加资源

添加
Microsoft 正在进行一项网上调查,以了解您对 MSDN 网站的意见。 如果您选择参加,我们将会在您离开 MSDN 网站时向您显示该网上调查。

是否要参加?
显示:
© 2014 Microsoft