InkRecognizerBaseCollection.GetPriorityInkRecognizer - метод (Int32)
Обновлен: Ноябрь 2007
Gets the first recognizer in the collection that supports input from the specified locale.
Пространство имен: System.Windows.Ink.AnalysisCore
Сборка: IACore (в IACore.dll)
Синтаксис
'Декларация
Public Function GetPriorityInkRecognizer ( _
languageId As Integer _
) As InkRecognizerBase
'Применение
Dim instance As InkRecognizerBaseCollection
Dim languageId As Integer
Dim returnValue As InkRecognizerBase
returnValue = instance.GetPriorityInkRecognizer(languageId)
public InkRecognizerBase GetPriorityInkRecognizer(
int languageId
)
public:
InkRecognizerBase^ GetPriorityInkRecognizer(
int languageId
)
public InkRecognizerBase GetPriorityInkRecognizer(
int languageId
)
public function GetPriorityInkRecognizer(
languageId : int
) : InkRecognizerBase
Параметры
- languageId
Тип: System.Int32
The locale identifier that the recognizer supports.
Возвращаемое значение
Тип: System.Windows.Ink.AnalysisCore.InkRecognizerBase
The first InkRecognizerBase in the collection that supports input from the specified locale, or nullссылка null (Nothing в Visual Basic) reference (Nothing in Visual Basic) if the collection contains no such recognizer.
Примеры
The following example gets the first InkRecognizerBase from the InkRecognizerBaseCollection, theInkRecognizers, that supports region-neutral Japanese input.
' Get the first recognizer from the InkRecognizerCollection that supports
' region neutral Japanese input.
Dim theFirstJapaneseInkRecognizer As System.Windows.Ink.AnalysisCore.InkRecognizerBase = _
theInkRecognizers.GetPriorityInkRecognizer(&H11)
// Get the first recognizer from the InkRecognizerCollection that supports
// region neutral Japanese input.
InkRecognizerBase theFirstJapaneseInkRecognizer =
theInkRecognizers.GetPriorityInkRecognizer(0x0011);
Платформы
Windows Vista, Windows XP с пакетом обновления 2 (SP2), Windows Server 2003
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0
См. также
Ссылки
InkRecognizerBaseCollection Класс
InkRecognizerBaseCollection - члены