Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SelectableWordsSegmenter.GetTokens | getTokens method

Determines and returns all of the selectable words in the provided text.

Syntax


var iVectorView = selectableWordsSegmenter.getTokens(text);

Parameters

text

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

Provided text containing words to be selected.

Return value

Type: IVectorView<SelectableWordSegment> [JavaScript/C++] | System.Collections.Generic.IReadOnlyList<SelectableWordSegment> [.NET]

A collection of SelectableWordSegment objects that represent the selectable words.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0 [for Xbox, see UWP features that aren't yet supported on Xbox]

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Data.Text
Windows::Data::Text [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.Data.Text
Windows::Data::Text [C++]

Metadata

Windows.winmd

See also

SelectableWordsSegmenter

 

 

Show: