InkRecognizerCollection.GetPriorityInkRecognizer 方法
取得集合內的第一個 InkRecognizer。
命名空間: Microsoft.Ink
組件: Microsoft.Ink.Analysis (在 Microsoft.Ink.Analysis.dll 中)
語法
'宣告
Public Function GetPriorityInkRecognizer As InkRecognizer
'用途
Dim instance As InkRecognizerCollection
Dim returnValue As InkRecognizer
returnValue = instance.GetPriorityInkRecognizer()
public InkRecognizer GetPriorityInkRecognizer()
public:
InkRecognizer^ GetPriorityInkRecognizer()
public InkRecognizer GetPriorityInkRecognizer()
public function GetPriorityInkRecognizer() : InkRecognizer
傳回值
型別:Microsoft.Ink.InkRecognizer
集合內的第一個 InkRecognizer,或如果集合是空的則為 nullNull 參照 (即 Visual Basic 中的 Nothing) 參考 (在 Visual Basic 中為 Nothing)。
範例
下列範例會取得 InkRecognizerCollection (變數名稱為 theInkRecognizers) 內的第一個 InkRecognizer。
' Get the first recognizer from the InkRecognizerCollection.
Dim theFirstInkRecognizer As Microsoft.Ink.InkRecognizer = _
theInkRecognizers.GetPriorityInkRecognizer()
// Get the first recognizer from the InkRecognizerCollection.
Microsoft.Ink.InkRecognizer theFirstInkRecognizer =
theInkRecognizers.GetPriorityInkRecognizer();
平台
Windows Vista
.NET Framework 和 .NET Compact Framework 並不支援各種平台的所有版本。如需支援平台版本的相關資訊,請參閱 .NET Framework 系統需求。
版本資訊
.NET Framework
支援版本:3.0