共用方式為


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
)

參數

  • customData
    型別:System.Object
    應用程式所提供的自訂資料。

備註

當您呼叫 BackgroundRecognizeBackgroundRecognizeWithAlternates 方法時,可以為 RecognizerContextRecognitionWithAlternatesEventArgs 建構函式 (Constructor) 傳入會變成 customData 參數的自訂資料。

平台

Windows Vista

.NET Framework 和 .NET Compact Framework 並不支援各種平台的所有版本。如需支援平台版本的相關資訊,請參閱 .NET Framework 系統需求

版本資訊

.NET Framework

支援版本:3.0

請參閱

參考

RecognizerContextRecognitionWithAlternatesEventArgs 類別

RecognizerContextRecognitionWithAlternatesEventArgs 成員

Microsoft.Ink 命名空間

RecognizerContext

RecognitionResult