PropertyGuidsForContextNodes.RecognizedString 字段

指定一个全局唯一标识符 (GUID),该 GUID 可用于获取表示已识别字符串的 String

命名空间:  System.Windows.Ink
程序集:  IAWinFX(在 IAWinFX.dll 中)

语法

声明
Public Shared ReadOnly RecognizedString As Guid
用法
Dim value As Guid

value = PropertyGuidsForContextNodes.RecognizedString
public static readonly Guid RecognizedString
public:
static initonly Guid RecognizedString
public static final Guid RecognizedString
public static final var RecognizedString : Guid

备注

RecognizedString 字段表示类型为 InkBulletInkWordLineParagraphRootWritingRegionContextNode 上的已识别字符串。

示例

下面的示例在 AnalysisHintNodeContainsPropertyData 方法中检查确认是否有 RecognizedString。如果有 RecognizedString 字段,则类型为 String 的返回属性数据填充 myRecognizedString。

' Get the recognized string
If myAnalysisHintNode.ContainsPropertyData( _
   PropertyGuidsForContextNodes.RecognizedString) Then

    Dim myRecognizedString As String = _
        CStr(myAnalysisHintNode.GetPropertyData( _
        PropertyGuidsForContextNodes.RecognizedString))
End If
// Get the recognized string
if (myAnalysisHintNode.ContainsPropertyData(
    PropertyGuidsForContextNodes.RecognizedString))
{
    string myRecognizedString =
        (string)myAnalysisHintNode.GetPropertyData(
        PropertyGuidsForContextNodes.RecognizedString);
}

平台

Windows Vista

.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求

版本信息

.NET Framework

受以下版本支持:3.0

另请参见

参考

PropertyGuidsForContextNodes 类

PropertyGuidsForContextNodes 成员

System.Windows.Ink 命名空间