PropertyGuidsForContextNodes.CustomRecognizerId 字段

指定一个全局唯一标识符 (GUID),该 GUID 可用于获取或设置表示自定义识别器上的自定义墨迹识别器。

命名空间:  Microsoft.Ink
程序集:  Microsoft.Ink.Analysis(在 Microsoft.Ink.Analysis.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

备注

表示类型为 CustomRecognizerContextNode 上的自定义墨迹识别器。

示例

下面的示例演示 CustomRecognizerId 字段。

' Get GUID for custom recognizer
If myAnalysisHintNode.ContainsPropertyData( _
   PropertyGuidsForContextNodes.CustomRecognizerId) Then
    Dim myCustomRecognizerId 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 类

PropertyGuidsForContextNodes 成员

Microsoft.Ink 命名空间