共用方式為


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 命名空間