System.Globalization.StringInfo Members

The members of System.Globalization.StringInfo are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Globalization.StringInfo class.

Initializes a new instance of the System.Globalization.StringInfo class to a specified string.

Public Properties

[read-only]
LengthInTextElementsint.

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

Stringstring.

Gets or sets the value of the current System.Globalization.StringInfo object.

Public Methods

override
Equals(object) : bool

Indicates whether the current System.Globalization.StringInfo object is equal to a specified object.

override
GetHashCode() : int

Calculates a hash code for the value of the current System.Globalization.StringInfo object.

static
GetNextTextElement(string) : string

Gets the first text element in a specified string.

static
GetNextTextElement(string, int) : string

Gets the text element at the specified index of the specified string.

static
GetTextElementEnumerator(string) : TextElementEnumerator

Returns an enumerator that iterates through the text elements of the entire string.

static
GetTextElementEnumerator(string, int) : TextElementEnumerator

Returns an enumerator that iterates through the text elements of the string, starting at the specified index.

static
ParseCombiningCharacters(string) : int[]

Returns the indexes of each base character, high surrogate, or control character within the specified string.

SubstringByTextElements(int) : string

Retrieves a substring of text elements from the current System.Globalization.StringInfo object starting from a specified text element and continuing through the last text element.

SubstringByTextElements(int, int) : string

Retrieves a substring of text elements from the current System.Globalization.StringInfo object starting from a specified text element and continuing through the specified number of text elements.