Assembly: System.Speech (in system.speech.dll)
/** @property */ public int get_Priority () /** @property */ public void set_Priority (int value)
Property ValueReturns an integer value representing the relative priority of a specific Grammar.
The default value of Priority is 0.
Priority can be set to any value between 128 and 128.
Unlike Weight, the use of Priority is purely deterministic.
If a recognition engine determines that any of two or more Grammar objects it is using to perform recognition operation are equally likely to provide speech recognition, the recognition engine uses the Grammar with the highest Priority.
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 EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.