認識結果に対する認識エンジンの信頼性レベルを表す整数を取得するためのグローバル一意識別子 (GUID) を指定します。
名前空間 : System.Windows.Ink
アセンブリ : IAWinFX (IAWinFX.dll 内)
構文
'宣言
Public Shared ReadOnly ConfidenceLevel As Guid
'使用
Dim value As Guid
value = PropertyGuidsForContextNodes.ConfidenceLevel
public static readonly Guid ConfidenceLevel
public:
static initonly Guid ConfidenceLevel
public static final Guid ConfidenceLevel
public static final var ConfidenceLevel : Guid
解説
ConfidenceLevel フィールドは、型が CustomRecognizer、InkBullet、InkWord、Line、Object、Paragraph、Root、TextWord、または WritingRegion の ContextNode における、認識結果の正確さに関する認識エンジンの信頼性のレベルを表します。
例
次の例では、AnalysisHintNode の ContainsPropertyData メソッドで既存の ConfidenceLevel を確認します。ConfidenceLevel フィールドが存在する場合、整数に変換されてから myConfidenceLevel に設定されます。
' Get the level of confidence: 1 == poor; 2 == intermediate; 3 == strong
If myAnalysisHintNode.ContainsPropertyData( _
PropertyGuidsForContextNodes.ConfidenceLevel) Then
Dim myConfidenceLevel As Integer = _
CType(myAnalysisHintNode.GetPropertyData( _
PropertyGuidsForContextNodes.ConfidenceLevel), Integer)
End If
// Get the level of confidence: 1 == poor; 2 == intermediate; 3 == strong
if (myAnalysisHintNode.ContainsPropertyData(
PropertyGuidsForContextNodes.ConfidenceLevel))
{
int myConfidenceLevel =
(int)myAnalysisHintNode.GetPropertyData(
PropertyGuidsForContextNodes.ConfidenceLevel);
}
プラットフォーム
Windows Vista
.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 3.0
参照
参照
PropertyGuidsForContextNodes クラス