InkRecognizerCollection.GetPriorityInkRecognizer - метод (Int32)
Обновлен: Ноябрь 2007
Gets the first recognizer in the collection that supports input from the specified locale.
Пространство имен: System.Windows.Ink
Сборка: IAWinFX (в IAWinFX.dll)
Синтаксис
'Декларация
Public Function GetPriorityInkRecognizer ( _
languageId As Integer _
) As InkRecognizer
'Применение
Dim instance As InkRecognizerCollection
Dim languageId As Integer
Dim returnValue As InkRecognizer
returnValue = instance.GetPriorityInkRecognizer(languageId)
public InkRecognizer GetPriorityInkRecognizer(
int languageId
)
public:
InkRecognizer^ GetPriorityInkRecognizer(
int languageId
)
public InkRecognizer GetPriorityInkRecognizer(
int languageId
)
public function GetPriorityInkRecognizer(
languageId : int
) : InkRecognizer
Параметры
- languageId
Тип: System.Int32
The locale identifier that the recognizer supports.
Возвращаемое значение
Тип: System.Windows.Ink.InkRecognizer
The first InkRecognizer 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 InkRecognizer from the InkRecognizerCollection, theInkRecognizers, that supports region-neutral Japanese input.
' Get the first recognizer from the InkRecognizerCollection that supports
' region neutral Japanese input.
Dim theFirstJapaneseInkRecognizer As InkRecognizer = _
theInkRecognizers.GetPriorityInkRecognizer(&H11)
// Get the first recognizer from the InkRecognizerCollection that supports
// region neutral Japanese input.
InkRecognizer theFirstJapaneseInkRecognizer =
theInkRecognizers.GetPriorityInkRecognizer(0x0011);
Платформы
Windows Vista
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0
См. также
Ссылки
InkRecognizerCollection - члены