Dela via


ITextProvider.GetSelection Method

Definition

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.

Applies to