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.SubstringByTextElements Method (Int32)
.NET Framework 3.0
Retrieves a substring of text elements from the current StringInfo object starting from a specified text element and continuing through the last text element.
Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly: mscorlib (in mscorlib.dll)
public String SubstringByTextElements ( int startingTextElement )
public function SubstringByTextElements ( startingTextElement : int ) : String
Not applicable.
Parameters
- startingTextElement
The index of a text element in this StringInfo object.
Return Value
A substring of text elements in this StringInfo object, starting from the text element index specified by the startingTextElement parameter and continuing through the last text element in this object.The startingTextElement index is zero-based.
Consider a string that consists of five text elements, indexed from 0 through 4. If the startingTextElement parameter is 1, the SubstringByTextElements method returns a substring that consists of the text elements for which the indexes are 1, 2, 3, and 4.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.