TextProviderWrapper.GetSelection - метод
Retrieves a collection of disjoint text ranges associated with the current text selection or selections.
Пространство имён: Tessa.UI.Automation.HelpersСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.23
public ITextRangeProvider[] GetSelection()
Public Function GetSelection As ITextRangeProvider()
public:
virtual array<ITextRangeProvider^>^ GetSelection() sealed
abstract GetSelection : unit -> ITextRangeProvider[]
override GetSelection : unit -> ITextRangeProvider[]
ITextRangeProvider[]A collection of disjoint text ranges.
ITextProvider.GetSelection() InvalidOperationException | If the UI Automation provider does not support text selection. |