InkRecognizerBaseCollection.GetPriorityInkRecognizer 方法

获取集合中的第一个 InkRecognizerBase

命名空间:  System.Windows.Ink.AnalysisCore
程序集:  IACore(在 IACore.dll 中)

语法

声明
Public Function GetPriorityInkRecognizer As InkRecognizerBase
用法
Dim instance As InkRecognizerBaseCollection
Dim returnValue As InkRecognizerBase

returnValue = instance.GetPriorityInkRecognizer()
public InkRecognizerBase GetPriorityInkRecognizer()
public:
InkRecognizerBase^ GetPriorityInkRecognizer()
public InkRecognizerBase GetPriorityInkRecognizer()
public function GetPriorityInkRecognizer() : InkRecognizerBase

返回值

类型:System.Windows.Ink.AnalysisCore.InkRecognizerBase
集合中的第一个 InkRecognizerBase,如果集合为空,则为 nullnull 引用(在 Visual Basic 中为 Nothing) 引用(在 Visual Basic 中为 Nothing)。

示例

下面的示例从 InkRecognizerBaseCollection (theInkRecognizers) 获取第一个 InkRecognizerBase

' Get the first recognizer from the InkRecognizerCollection.
Dim theFirstInkRecognizer As System.Windows.Ink.AnalysisCore.InkRecognizerBase = _
    theInkRecognizers.GetPriorityInkRecognizer()
            // Get the first recognizer from the InkRecognizerCollection.
            InkRecognizerBase theFirstInkRecognizer =
                theInkRecognizers.GetPriorityInkRecognizer();

平台

Windows Vista, Windows XP SP2, Windows Server 2003

.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求

版本信息

.NET Framework

受以下版本支持:3.0

另请参见

参考

InkRecognizerBaseCollection 类

InkRecognizerBaseCollection 成员

GetPriorityInkRecognizer 重载

System.Windows.Ink.AnalysisCore 命名空间