InkAnalyzerBase.FindNodesOfType - метод (Guid, ContextNodeBase)
Обновлен: Ноябрь 2007
Returns the ContextNodeBase objects of the specified type that are descendants of the specified ContextNodeBase object.
Пространство имен: 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
The type of ContextNodeBase object to find.
- node
Тип: System.Windows.Ink.AnalysisCore.ContextNodeBase
The ContextNodeBase object whose descendants are searched.
Возвращаемое значение
Тип: System.Windows.Ink.AnalysisCore.ContextNodeBaseCollection
The ContextNodeBase objects of the specified type that are descendants of the specified ContextNodeBase.
Примеры
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);
Платформы
Windows Vista, Windows XP с пакетом обновления 2 (SP2), Windows Server 2003
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0
См. также
Ссылки
System.Windows.Ink.AnalysisCore - пространство имен