UIAutomation.UiaTextPattern.GetSelection C# (CSharp) Method

GetSelection() public method

public GetSelection ( ) : UIANET::System.Windows.Automation.Text.TextPatternRange[]
return UIANET::System.Windows.Automation.Text.TextPatternRange[]
        public virtual classic.Text.TextPatternRange[] GetSelection()
        {
            // SafeTextRangeHandle[] hTextRanges = UiaCoreApi.TextPattern_GetSelection(this._hPattern);
            // return TextPatternRange.Wrap(hTextRanges, this);
            return _textPattern.GetSelection();
        }
        public virtual classic.Text.TextPatternRange[] GetVisibleRanges()