InkRecognizerCollection.GetPriorityInkRecognizer 方法 (Int32)
获取集合中支持来自指定区域设置的输入的第一个识别器。
命名空间: Microsoft.Ink
程序集: Microsoft.Ink.Analysis(在 Microsoft.Ink.Analysis.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
识别器支持的区域设置标识符。
返回值
类型:Microsoft.Ink.InkRecognizer
集合中支持来自指定区域设置的输入的第一个 InkRecognizer,如果集合不包含这样的识别器,则为 nullnull 引用(在 Visual Basic 中为 Nothing) 引用(在 Visual Basic 中为 Nothing)。
示例
下面的示例从 InkRecognizerCollection (theInkRecognizers) 获取支持非特定区域日语输入的第一个 InkRecognizer。
' Get the first recognizer from the InkRecognizerCollection that supports
' region neutral Japanese input.
Dim theFirstJapaneseInkRecognizer As Microsoft.Ink.InkRecognizer = _
theInkRecognizers.GetPriorityInkRecognizer(&H11)
// Get the first recognizer from the InkRecognizerCollection that supports
// region neutral Japanese input.
Microsoft.Ink.InkRecognizer theFirstJapaneseInkRecognizer =
theInkRecognizers.GetPriorityInkRecognizer(0x0011);
平台
Windows Vista
.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求。
版本信息
.NET Framework
受以下版本支持:3.0