カスタム認識エンジンでカスタム インク認識エンジンを表す GUID を取得または設定するためのグローバル一意識別子 (GUID) を指定します。
名前空間 : System.Windows.Ink
アセンブリ : IAWinFX (IAWinFX.dll 内)
構文
'宣言
Public Shared ReadOnly CustomRecognizerId As Guid
'使用
Dim value As Guid
value = PropertyGuidsForContextNodes.CustomRecognizerId
public static readonly Guid CustomRecognizerId
public:
static initonly Guid CustomRecognizerId
public static final Guid CustomRecognizerId
public static final var CustomRecognizerId : Guid
解説
型が CustomRecognizer の ContextNode でカスタム インク認識エンジンを表します。
例
次の例では、AnalysisHintNode の ContainsPropertyData メソッドで既存の CustomRecognizerId を確認します。[F:System.Windows.Ink.PropertyGuidsForContextNodes. CustomRecognizerId] フィールドが存在する場合、返される GUID 型のプロパティ データにより myCustomRcognizer が設定されます。
' Get GUID for custom recognizer
If myAnalysisHintNode.ContainsPropertyData( _
PropertyGuidsForContextNodes.CustomRecognizerId) Then
Dim myCustomRecognizer As Guid = _
CType(myAnalysisHintNode.GetPropertyData( _
PropertyGuidsForContextNodes.CustomRecognizerId), Guid)
End If
// Get GUID for custom recognizer
if (myAnalysisHintNode.ContainsPropertyData(
PropertyGuidsForContextNodes.CustomRecognizerId))
{
Guid myCustomRecognizer =
(Guid)myAnalysisHintNode.GetPropertyData(
PropertyGuidsForContextNodes.CustomRecognizerId);
}
プラットフォーム
Windows Vista
.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 3.0
参照
参照
PropertyGuidsForContextNodes クラス