Factoid - класс
Обновлен: Ноябрь 2007
This class contains the pre-defined factoid identifiers. This class cannot be inherited.
Пространство имен: Microsoft.Ink
Сборка: Microsoft.Ink (в Microsoft.Ink.dll)
Синтаксис
'Декларация
Public NotInheritable Class Factoid
'Применение
Dim instance As Factoid
public sealed class Factoid
public ref class Factoid sealed
public final class Factoid
public final class Factoid
Заметки
Примечание. |
---|
For recognizers of Latin script, the factoids defined in this class are provided for backward compatibility only. For new development, you are encouraged to use the values defined in the InputScope. For details, see Improving Tablet PC Recognition Accuracy by Setting Context. |
Use these identifiers to specify which factoid should be used during recognition.
The following combinations of factoids are supported for western languages only. These do not have separate definitions, but are acceptable string literal inputs to the Factoid property of objects that use factoids. These factoid string constants allow the input to match any of the factoids in the expression.
Combination |
Definition |
---|---|
"WEB|WORDLIST" |
The Web factoid or the word list. |
"EMAIL|WORDLIST" |
The Email factoid or the word list. |
"FILENAME|WEB|WORDLIST"> |
If you are using the InkEdit control, the factoid can be set as a property of the control.
mInkEdit.Factoid = Factoid.Hiragana
mInkEdit.Factoid = Factoid.Hiragana;
If you are using the Tablet PC Platform APIs, you can set the Factoid property on a RecognizerContext object.
mRecognizerContext.Factoid = Factoid.PostalCode
mRecognizerContext.Factoid = Factoid.PostalCode;
Alternatively, you can set this property with the actual factoid string constant.
mRecognizerContext.Factoid = "POSTALCODE"
mRecognizerContext.Factoid = "POSTALCODE";
Примечание. |
---|
Factoid string constants are case sensitive. For more information about factoids and how to use them, see Improving Tablet PC Recognition Accuracy by Setting Context. To determine whether a factoid is available in a specific language, see Supported Factoids from Version 1. |
Иерархия наследования
System.Object
Microsoft.Ink.Factoid
Потокобезопасность
Любые открытые члены этого типа, объявленные как static (Shared в Visual Basic), являются потокобезопасными. Потокобезопасность членов экземпляров не гарантируется.
Платформы
Windows Vista
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0
См. также
Ссылки
Microsoft.Ink - пространство имен