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.

WordSegment class

Applies to Windows only

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.

Syntax


var wordSegment = WordsSegmenter.GetTokenAt();

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]

Members

The WordSegment class has these types of members:

Properties

The WordSegment class has these properties.

PropertyAccess typeDescription

AlternateForms

Read-onlyGets the alternate forms (if any) associated with the current word.

SourceTextSegment

Read-onlyGets the TextSegment that identifies the source text's sub-string that is a word.

Text

Read-onlyGets the text of the word identified by this WordSegment object.

 

Requirements

Minimum supported client

Windows 8.1 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps, desktop apps]

Minimum supported phone

None supported

Namespace

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

Metadata

Windows.winmd

See also

Object

 

 

Show:
© 2014 Microsoft