Share via


InkAnalyzer.FindNode Method

Returns the specified ContextNode.

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

Syntax

'Declaration
Public Function FindNode ( _
    identifier As Guid _
) As ContextNode
'Usage
Dim instance As InkAnalyzer 
Dim identifier As Guid 
Dim returnValue As ContextNode 

returnValue = instance.FindNode(identifier)
public ContextNode FindNode(
    Guid identifier
)
public:
ContextNode^ FindNode(
    Guid identifier
)
public function FindNode(
    identifier : Guid
) : ContextNode

Parameters

Return Value

Type: Microsoft.Ink.ContextNode
The ContextNode with the specified identifier.

Remarks

If no ContextNode exists as a descendant of the RootNode, nulla null reference (Nothing in Visual Basic) is returned.

Examples

The following example finds a ContextNode by using a Guid, nodeGuid, in an InkAnalyzer, theInkAnalyzer.

Dim theNode As ContextNode = theInkAnalyzer.FindNode(nodeGuid)
         ContextNode theNode = theInkAnalyzer.FindNode(nodeGuid);

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

InkAnalyzer Class

InkAnalyzer Members

Microsoft.Ink Namespace

InkAnalyzer.FindInkLeafNodes

InkAnalyzer.FindLeafNodes

InkAnalyzer.FindNodes

InkAnalyzer.FindNodesOfType