ITextProvider.GetSelection Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves a collection of disjoint text ranges that are associated with the current text selection or selections.
public:
Platform::Array <ITextRangeProvider ^> ^ GetSelection();
winrt::array_view <ITextRangeProvider const&> GetSelection();
public ITextRangeProvider[] GetSelection();
function getSelection()
Public Function GetSelection () As ITextRangeProvider()
Returns
A collection of disjoint text ranges.