本文件已封存並已停止維護。

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 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
顯示: