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