Freigeben über


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 ContextNode FindNode (
    Guid identifier
)
public function FindNode (
    identifier : Guid
) : ContextNode
Not applicable.

Parameters

Return Value

The ContextNode with the specified identifier.

Remarks

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

Example

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 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

InkAnalyzer Class
InkAnalyzer Members
Microsoft.Ink Namespace
Microsoft.Ink.InkAnalyzer.FindInkLeafNodes
InkAnalyzer.FindLeafNodes
Microsoft.Ink.InkAnalyzer.FindNodes
Microsoft.Ink.InkAnalyzer.FindNodesOfType