Sdílet prostřednictvím


InkAnalyzerBase.FindNode Method

Returns the specified ContextNodeBase.

Namespace:  System.Windows.Ink.AnalysisCore
Assembly:  IACore (in IACore.dll)

Syntax

'Declaration
Public Function FindNode ( _
    id As Guid _
) As ContextNodeBase
'Usage
Dim instance As InkAnalyzerBase 
Dim id As Guid 
Dim returnValue As ContextNodeBase 

returnValue = instance.FindNode(id)
public ContextNodeBase FindNode(
    Guid id
)
public:
ContextNodeBase^ FindNode(
    Guid id
)
public function FindNode(
    id : Guid
) : ContextNodeBase

Parameters

  • id
    Type: System.Guid

    The unique identifier of the context node.

Return Value

Type: System.Windows.Ink.AnalysisCore.ContextNodeBase
The specified ContextNodeBase.

Remarks

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

Examples

The following example finds a ContextNodeBase with the System.Guid, nodeGuid, in an InkAnalyzerBase, theInkAnalyzerBase.

Dim theNode As System.Windows.Ink.AnalysisCore.ContextNodeBase = _
    theInkAnalyzerBase.FindNode(nodeGuid)
System.Windows.Ink.AnalysisCore.ContextNodeBase theNode =
    theInkAnalyzerBase.FindNode(nodeGuid);

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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

InkAnalyzerBase Class

InkAnalyzerBase Members

System.Windows.Ink.AnalysisCore Namespace

InkAnalyzerBase.FindInkLeafNodes

InkAnalyzerBase.FindLeafNodes

InkAnalyzerBase.FindNodes

InkAnalyzerBase.FindNodesOfType