共用方式為


InkAnalyzerBase.FindNodesOfType 方法 (Guid, ContextNodeBase)

傳回指定之型別的 ContextNodeBase 物件,這些物件為所指定 ContextNodeBase 物件的子代。

命名空間:  System.Windows.Ink.AnalysisCore
組件:  IACore (在 IACore.dll 中)

語法

'宣告
Public Function FindNodesOfType ( _
    type As Guid, _
    node As ContextNodeBase _
) As ContextNodeBaseCollection
'用途
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

參數

傳回值

型別:System.Windows.Ink.AnalysisCore.ContextNodeBaseCollection
指定之型別的 ContextNodeBase 物件,這些物件為所指定 ContextNodeBase 的子代。

範例

下列範例會尋找 InkAnalyzerBase (theInkAnalyzerBase) 中的所有行節點,這些節點為 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);

平台

Windows Vista, Windows XP SP2, Windows Server 2003

.NET Framework 和 .NET Compact Framework 並不支援各種平台的所有版本。如需支援平台版本的相關資訊,請參閱 .NET Framework 系統需求

版本資訊

.NET Framework

支援版本:3.0

請參閱

參考

InkAnalyzerBase 類別

InkAnalyzerBase 成員

FindNodesOfType 多載

System.Windows.Ink.AnalysisCore 命名空間

InkAnalyzerBase.FindInkLeafNodes

InkAnalyzerBase.FindLeafNodes

InkAnalyzerBase.FindNode

InkAnalyzerBase.FindNodes