RecognizerContextRecognitionWithAlternatesEventArgs 建構函式
初始化 RecognizerContextRecognitionWithAlternatesEventArgs 類別的新執行個體。
命名空間: Microsoft.Ink
組件: Microsoft.Ink (在 Microsoft.Ink.dll 中)
語法
'宣告
Public Sub New ( _
result As RecognitionResult, _
customData As Object, _
recognitionStatus As RecognitionStatus _
)
'用途
Dim result As RecognitionResult
Dim customData As Object
Dim recognitionStatus As RecognitionStatus
Dim instance As New RecognizerContextRecognitionWithAlternatesEventArgs(result, _
customData, recognitionStatus)
public RecognizerContextRecognitionWithAlternatesEventArgs(
RecognitionResult result,
Object customData,
RecognitionStatus recognitionStatus
)
public:
RecognizerContextRecognitionWithAlternatesEventArgs(
RecognitionResult^ result,
Object^ customData,
RecognitionStatus recognitionStatus
)
public RecognizerContextRecognitionWithAlternatesEventArgs(
RecognitionResult result,
Object customData,
RecognitionStatus recognitionStatus
)
public function RecognizerContextRecognitionWithAlternatesEventArgs(
result : RecognitionResult,
customData : Object,
recognitionStatus : RecognitionStatus
)
參數
- result
型別:Microsoft.Ink.RecognitionResult
辨識器傳回的 RecognitionResult 物件。
- customData
型別:System.Object
應用程式所提供的自訂資料。
- recognitionStatus
型別:Microsoft.Ink.RecognitionStatus
其中一個 RecognitionStatus 列舉值,這個值表示以最近辨識結果為準的辨識狀態。
備註
當您呼叫 BackgroundRecognize 或 BackgroundRecognizeWithAlternates 方法時,可以為 RecognizerContextRecognitionWithAlternatesEventArgs 建構函式 (Constructor) 傳入會變成 customData 參數的自訂資料。
平台
Windows Vista
.NET Framework 和 .NET Compact Framework 並不支援各種平台的所有版本。如需支援平台版本的相關資訊,請參閱 .NET Framework 系統需求。
版本資訊
.NET Framework
支援版本:3.0
請參閱
參考
RecognizerContextRecognitionWithAlternatesEventArgs 類別