Represents a word from your provided text.
Words in this class do not include trailing whitespace or punctuation. This class can also expose alternate forms of words, and normalized numbers, currencies, dates, and times.
public : sealed class WordSegment
public sealed class WordSegment
Public NotInheritable Class WordSegment
// This class does not provide a public constructor.
Windows 10 requirements
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
Windows.Foundation.UniversalApiContract (introduced v1)
|AlternateForms AlternateForms AlternateForms AlternateForms AlternateForms||
Gets the alternate forms (if any) associated with the current word.
Alternate forms are loosely associated with the current word. An alternate form may encompass less text, more text, or the same text as the original word.
|SourceTextSegment SourceTextSegment SourceTextSegment SourceTextSegment SourceTextSegment||
Gets the TextSegment that identifies the source text's sub-string that is a word.
|Text Text Text Text Text||
Gets the text of the word identified by this WordSegment object.