StringInfo Methods

The StringInfo type exposes the following members.

  Name Description
Public method Supported by the XNA Framework Supported by Portable Class Library Equals Indicates whether the current StringInfo object is equal to a specified object. (Overrides Object.Equals(Object).)
Protected method Supported by the XNA Framework Supported by Portable Class Library Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by the XNA Framework Supported by Portable Class Library GetHashCode Calculates a hash code for the value of the current StringInfo object. (Overrides Object.GetHashCode().)
Public method Static member Supported by the XNA Framework Supported by Portable Class Library GetNextTextElement(String) Gets the first text element in a specified string.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library GetNextTextElement(String, Int32) Gets the text element at the specified index of the specified string.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library GetTextElementEnumerator(String) Returns an enumerator that iterates through the text elements of the entire string.
Public method Static member Supported by the XNA Framework Supported by Portable Class Library GetTextElementEnumerator(String, Int32) Returns an enumerator that iterates through the text elements of the string, starting at the specified index.
Public method Supported by the XNA Framework Supported by Portable Class Library GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Supported by the XNA Framework Supported by Portable Class Library MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member Supported by the XNA Framework Supported by Portable Class Library ParseCombiningCharacters Returns the indexes of each base character, high surrogate, or control character within the specified string.
Public method SubstringByTextElements(Int32) Retrieves a substring of text elements from the current StringInfo object starting from a specified text element and continuing through the last text element.
Public method SubstringByTextElements(Int32, Int32) Retrieves a substring of text elements from the current StringInfo object starting from a specified text element and continuing through the specified number of text elements.
Public method Supported by the XNA Framework Supported by Portable Class Library ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft