Partager via


PropertyGuidsForContextNodes.RecognizedString Field

Specifies the globally unique identifier (GUID) for getting the String that represents the recognized string.

Namespace: System.Windows.Ink
Assembly: IAWinFX (in iawinfx.dll)

Syntax

'Declaration
Public Shared ReadOnly RecognizedString As Guid
'Usage
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
Not applicable.

Remarks

The RecognizedString field represents the recognized string on a ContextNode of type InkBullet, InkWord, Line, Paragraph, Root, or WritingRegion.

Example

The following example checks for an existing RecognizedString in the ContainsPropertyData method of an AnalysisHintNode. If the RecognizedString field exists, the returned property data of type String populates 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);
}

Platforms

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

PropertyGuidsForContextNodes Class
PropertyGuidsForContextNodes Members
System.Windows.Ink Namespace