Condividi tramite


Metodo InkAnalyzerBase.FindNodesOfType (Guid, ContextNodeBase)

Aggiornamento: novembre 2007

Restituisce gli oggetti ContextNodeBase del tipo specificato che sono discendenti dell'oggetto ContextNodeBase specificato.

Spazio dei nomi:  System.Windows.Ink.AnalysisCore
Assembly:  IACore (in IACore.dll)

Sintassi

'Dichiarazione
Public Function FindNodesOfType ( _
    type As Guid, _
    node As ContextNodeBase _
) As ContextNodeBaseCollection
'Utilizzo
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

Parametri

Valore restituito

Tipo: System.Windows.Ink.AnalysisCore.ContextNodeBaseCollection
Oggetti ContextNodeBase del tipo specificato che sono discendenti dell'oggetto ContextNodeBase specificato.

Esempi

Nell'esempio seguente vengono individuati tutti i nodi riga in un oggetto InkAnalyzerBase, theInkAnalyzerBase, discendenti dell'oggetto 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);

Piattaforme

Windows Vista, Windows XP SP2, Windows Server 2003

.NET Framework e .NET Compact Framework non supportano tutte le versioni di ciascuna piattaforma. Per un elenco delle versioni supportate, vedere Requisiti di sistema di .NET Framework.

Informazioni sulla versione

.NET Framework

Supportato in: 3.0

Vedere anche

Riferimenti

InkAnalyzerBase Classe

Membri InkAnalyzerBase

Overload FindNodesOfType

Spazio dei nomi System.Windows.Ink.AnalysisCore

InkAnalyzerBase.FindInkLeafNodes

InkAnalyzerBase.FindLeafNodes

InkAnalyzerBase.FindNode

InkAnalyzerBase.FindNodes