Selectable​Word​Segment Selectable​Word​Segment Selectable​Word​Segment Class

Definition

Represents a segment from your provided text that includes a word and any trailing whitespace and/or punctuation after this word.

public : sealed class SelectableWordSegment : ISelectableWordSegmentpublic sealed class SelectableWordSegment : ISelectableWordSegmentPublic NotInheritable Class SelectableWordSegment Implements ISelectableWordSegment
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

Your code does not instantiate this class directly. Instead, you use instances retrieved from a SelectableWordsSegmenter object.

Properties

SourceTextSegment SourceTextSegment SourceTextSegment

Gets the TextSegment that identifies the source text's sub-string that is the selected word.

public : TextSegment SourceTextSegment { get; }public TextSegment SourceTextSegment { get; }Public ReadOnly Property SourceTextSegment As TextSegment
Value
TextSegment TextSegment TextSegment

The TextSegment structure that identifies the word in your provided text.

Attributes
See Also

Text Text Text

Gets the text of the selected word identified by this SelectableWordSegment object.

public : PlatForm::String Text { get; }public string Text { get; }Public ReadOnly Property Text As string
Value
PlatForm::String string string

The selected word.

Attributes