Share via


InkAnalyzerBase.FindNodesOfType Method (Guid, ContextNodeBase)

Returns the ContextNodeBase objects of the specified type that are descendants of the specified ContextNodeBase object.

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

Syntax

'Declaration
Public Function FindNodesOfType ( _
    type As Guid, _
    node As ContextNodeBase _
) As ContextNodeBaseCollection
'Usage
Dim instance As InkAnalyzerBase
Dim type As Guid
Dim node As ContextNodeBase
Dim returnValue As ContextNodeBaseCollection

returnValue = instance.FindNodesOfType(type, node)
public ContextNodeBaseCollection FindNodesOfType (
    Guid type,
    ContextNodeBase node
)
public:
ContextNodeBaseCollection^ FindNodesOfType (
    Guid type, 
    ContextNodeBase^ node
)
public ContextNodeBaseCollection FindNodesOfType (
    Guid type, 
    ContextNodeBase node
)
public function FindNodesOfType (
    type : Guid, 
    node : ContextNodeBase
) : ContextNodeBaseCollection
Not applicable.

Parameters

  • node
    The ContextNodeBase object whose descendants are searched.

Return Value

The ContextNodeBase objects of the specified type that are descendants of the specified ContextNodeBase.

Example

The following example finds all the line nodes in an InkAnalyzerBase, theInkAnalyzerBase, that are descendants of the ContextNodeBase, theContextNode.

Dim lineNodes As System.Windows.Ink.AnalysisCore.ContextNodeBaseCollection = _
    theInkAnalyzerBase.FindNodesOfType( _
        System.Windows.Ink.AnalysisCore.ContextNodeTypeBase.Line, theContextNode)
System.Windows.Ink.AnalysisCore.ContextNodeBaseCollection lineNodes =
    theInkAnalyzerBase.FindNodesOfType(
        System.Windows.Ink.AnalysisCore.ContextNodeTypeBase.Line, theContextNode);

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

InkAnalyzerBase Class
InkAnalyzerBase Members
System.Windows.Ink.AnalysisCore Namespace
System.Windows.Ink.AnalysisCore.InkAnalyzerBase.FindInkLeafNodes
InkAnalyzerBase.FindLeafNodes
InkAnalyzerBase.FindNode
System.Windows.Ink.AnalysisCore.InkAnalyzerBase.FindNodes