Sdílet prostřednictvím


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 function FindNodesOfType(
    type : Guid, 
    node : ContextNodeBase
) : ContextNodeBaseCollection

Parameters

Return Value

Type: System.Windows.Ink.AnalysisCore.ContextNodeBaseCollection
The ContextNodeBase objects of the specified type that are descendants of the specified ContextNodeBase.

Examples

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

FindNodesOfType Overload

System.Windows.Ink.AnalysisCore Namespace

InkAnalyzerBase.FindInkLeafNodes

InkAnalyzerBase.FindLeafNodes

InkAnalyzerBase.FindNode

InkAnalyzerBase.FindNodes