InkAnalyzerBase.FindNodesOfType - метод (Guid, array<Int32[])
Обновлен: Ноябрь 2007
Returns the ContextNodeBase objects of the specified type that contain any of the strokes whose identifiers are in the specified array of stroke identifiers.
Пространство имен: System.Windows.Ink.AnalysisCore
Сборка: IACore (в IACore.dll)
Синтаксис
'Декларация
Public Function FindNodesOfType ( _
type As Guid, _
strokeIds As Integer() _
) As ContextNodeBaseCollection
'Применение
Dim instance As InkAnalyzerBase
Dim type As Guid
Dim strokeIds As Integer()
Dim returnValue As ContextNodeBaseCollection
returnValue = instance.FindNodesOfType(type, _
strokeIds)
public ContextNodeBaseCollection FindNodesOfType(
Guid type,
int[] strokeIds
)
public:
ContextNodeBaseCollection^ FindNodesOfType(
Guid type,
array<int>^ strokeIds
)
public ContextNodeBaseCollection FindNodesOfType(
Guid type,
int[] strokeIds
)
public function FindNodesOfType(
type : Guid,
strokeIds : int[]
) : ContextNodeBaseCollection
Параметры
- type
Тип: System.Guid
The type of the context node to find.
- strokeIds
Тип: array<System.Int32[]
An array containing the stroke identifiers.
Возвращаемое значение
Тип: System.Windows.Ink.AnalysisCore.ContextNodeBaseCollection
A ContextNodeBaseCollection containing context nodes of the specified type that contain any of the strokes whose identifiers are in strokeIds.
Заметки
If a node or one of its descendants reference a stroke specified in strokeIds, this method includes that node in the return value.
Примеры
The following example finds all the line nodes in an InkAnalyzerBase, theInkAnalyzerBase, that contain the strokes identified in the array, theStrokeIds.
Dim lineNodes As System.Windows.Ink.AnalysisCore.ContextNodeBaseCollection = _
theInkAnalyzerBase.FindNodesOfType( _
System.Windows.Ink.AnalysisCore.ContextNodeTypeBase.Line, theStrokeIds)
System.Windows.Ink.AnalysisCore.ContextNodeBaseCollection lineNodes =
theInkAnalyzerBase.FindNodesOfType(
System.Windows.Ink.AnalysisCore.ContextNodeTypeBase.Line, theStrokeIds);
Платформы
Windows Vista, Windows XP с пакетом обновления 2 (SP2), Windows Server 2003
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0
См. также
Ссылки
System.Windows.Ink.AnalysisCore - пространство имен