Windows apps
Collapse the table of content
Expand the table of content
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.

StringInfo.LengthInTextElements Property


Gets the number of text elements in the current StringInfo object.

Namespace:   System.Globalization
Assembly:  mscorlib (in mscorlib.dll)

public int LengthInTextElements { get; }

Property Value

Type: System.Int32

The number of base characters, surrogate pairs, and combining character sequences in this StringInfo object.

Universal Windows Platform
Available since 8
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
© 2016 Microsoft