InkRecognizerBaseCollection.GetPriorityInkRecognizer 方法 (Int32)
获取集合中支持来自指定区域设置的输入的第一个识别器。
命名空间: 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
识别器支持的区域设置标识符。
返回值
类型:System.Windows.Ink.AnalysisCore.InkRecognizerBase
集合中支持来自指定区域设置的输入的第一个 InkRecognizerBase,如果集合不包含这样的识别器,则为 nullnull 引用(在 Visual Basic 中为 Nothing) 引用(在 Visual Basic 中为 Nothing)。
示例
下面的示例从 InkRecognizerBaseCollection (theInkRecognizers) 获取支持非特定区域日语输入的第一个 InkRecognizerBase。
' 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 SP2, Windows Server 2003
.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求。
版本信息
.NET Framework
受以下版本支持:3.0