Sdílet prostřednictvím


PropertyGuidsForContextNodes.NodeData Field

Specifies the globally unique identifier (GUID) for getting or setting the GUID that represents the image data or text data on an image or a text word.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)

Syntax

'Declaration
Public Shared ReadOnly NodeData As Guid
'Usage
Dim value As Guid 

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

Remarks

This field represents the image data or text data on a ContextNode of type Image or TextWord, respectively.

Examples

The following example demonstrates the NodeData field.

' Get the GUID that represents the image data or text data on an image or text word 
If myAnalysisHintNode.ContainsPropertyData( _
   PropertyGuidsForContextNodes.NodeData) Then 
    Dim myNodeData As Guid = _
        CType(myAnalysisHintNode.GetPropertyData( _
        PropertyGuidsForContextNodes.NodeData), Guid)
End If
// Get the GUID that represents the image data or text data on an image or text word 
if (myAnalysisHintNode.ContainsPropertyData(
    PropertyGuidsForContextNodes.NodeData))
{
    Guid myNodeData =
        (Guid)myAnalysisHintNode.GetPropertyData(
        PropertyGuidsForContextNodes.NodeData);
}

Platforms

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

PropertyGuidsForContextNodes Class

PropertyGuidsForContextNodes Members

Microsoft.Ink Namespace