Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

StringInfo.LengthInTextElements Property

Definition

Namespace:
System.Globalization
Assemblies:
mscorlib.dll, System.Globalization.dll
Assemblies:
netstandard.dll, System.Runtime.dll
Assembly:
System.Globalization.dll
Assembly:
System.Runtime.dll
Assembly:
mscorlib.dll
Assembly:
netstandard.dll
Source:
StringInfo.cs
Source:
StringInfo.cs
Source:
StringInfo.cs
Source:
StringInfo.cs
Source:
StringInfo.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

public:
 property int LengthInTextElements { int get(); };
public int LengthInTextElements { get; }
member this.LengthInTextElements : int
Public ReadOnly Property LengthInTextElements As Integer

Property Value

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

Applies to


Feedback

Was this page helpful?