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
参数
- type
类型:System.Guid
要查找的 ContextNodeBase 对象的类型。
- node
类型:System.Windows.Ink.AnalysisCore.ContextNodeBase
要搜索其后代的 ContextNodeBase 对象。
返回值
类型: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
另请参见
参考
System.Windows.Ink.AnalysisCore 命名空间