ContextNodeBase.GetTextRangeFromNodes - метод
Обновлен: Ноябрь 2007
Finds the text range in the recognized string that corresponds to a collection of context nodes.
Пространство имен: System.Windows.Ink.AnalysisCore
Сборка: IACore (в IACore.dll)
Синтаксис
'Декларация
Public Sub GetTextRangeFromNodes ( _
subTree As ContextNodeBaseCollection, _
<OutAttribute> ByRef start As Integer, _
<OutAttribute> ByRef length As Integer _
)
'Применение
Dim instance As ContextNodeBase
Dim subTree As ContextNodeBaseCollection
Dim start As Integer
Dim length As Integer
instance.GetTextRangeFromNodes(subTree, _
start, length)
public void GetTextRangeFromNodes(
ContextNodeBaseCollection subTree,
out int start,
out int length
)
public:
void GetTextRangeFromNodes(
ContextNodeBaseCollection^ subTree,
[OutAttribute] int% start,
[OutAttribute] int% length
)
public void GetTextRangeFromNodes(
ContextNodeBaseCollection subTree,
/** @attribute OutAttribute */ /** @ref */int start,
/** @attribute OutAttribute */ /** @ref */int length
)
public function GetTextRangeFromNodes(
subTree : ContextNodeBaseCollection,
start : int,
length : int
)
Параметры
- subTree
Тип: System.Windows.Ink.AnalysisCore.ContextNodeBaseCollection
The collection of context nodes for which to find the text range.
- start
Тип: System.Int32%
When this method returns, the start parameter contains a 32-bit signed integer that indicates the start of the text range. This parameter is passed uninitialized.
- length
Тип: System.Int32%
When this method returns, the length parameter contains a 32-bit signed integer that indicates the length of the text range. This parameter is passed uninitialized.
Заметки
If subTree contains ContextNodeBase objects that are not consecutive, then this method returns the smallest text range that covers all of the context nodes.
This method throws a System.ArgumentException when nodesToSearch contains a context node that is not associated with the ContextNodeBase.
Платформы
Windows Vista, Windows XP с пакетом обновления 2 (SP2), Windows Server 2003
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0