Defines text properties and behaviors, such as casing, that are specific to a writing system.
Assemblies: System.Globalization (in System.Globalization.dll)
mscorlib (in mscorlib.dll)
Thetype exposes the following members.
|ANSICodePage||Gets the American National Standards Institute (ANSI) code page used by the writing system represented by the current .|
|CultureName||Gets the name of the culture associated with the current object.|
|EBCDICCodePage||Gets the Extended Binary Coded Decimal Interchange Code (EBCDIC) code page used by the writing system represented by the current .|
|IsReadOnly||Gets a value indicating whether the current object is read-only.|
|IsRightToLeft||Gets a value indicating whether the current object represents a writing system where text flows from right to left.|
|LCID||Gets the culture identifier for the culture associated with the current object.|
|ListSeparator||Gets or sets the string that separates items in a list.|
|MacCodePage||Gets the Macintosh code page used by the writing system represented by the current .|
|OEMCodePage||Gets the original equipment manufacturer (OEM) code page used by the writing system represented by the current .|
|Clone||Creates a new object that is a copy of the current object.|
|Equals||Determines whether the specified object represents the same writing system as the current object. (Overrides Object.Equals(Object).)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for the current , suitable for hashing algorithms and data structures, such as a hash table. (Overrides Object.GetHashCode().)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ReadOnly||Returns a read-only version of the specified object.|
|ToLower(Char)||Converts the specified character to lowercase.|
|ToLower(String)||Converts the specified string to lowercase.|
|ToString||Returns a string that represents the current . (Overrides Object.ToString().)|
|ToTitleCase||Converts the specified string to title case (except for words that are entirely in uppercase, which are considered to be acronyms).|
|ToUpper(Char)||Converts the specified character to uppercase.|
|ToUpper(String)||Converts the specified string to uppercase.|
A writing system is the collection of scripts and orthographic rules required to represent a language as text. The class represents a writing system.
The application should use the CultureInfo.TextInfo property to obtain the object for a particular CultureInfo object. If a security decision depends on a string comparison or a case-change operation, the application should use the CultureInfo.TextInfo property of the object returned by the CultureInfo.InvariantCulture property to ensure that the behavior of the operation is consistent regardless of the operating system culture settings.
The user might use the regional and language options portion of Control Panel to override the values associated with the current culture of Windows. For example, the user might choose to display the date in a different format or to use a currency other than the default for the culture. If the CultureInfo.UseUserOverride property is set to true, the property values of the objects returned by the CultureInfo.DateTimeFormat, CultureInfo.NumberFormat, and CultureInfo.TextInfo properties are also retrieved from the user settings. If the user settings are incompatible with the culture associated with the CultureInfo, for example, if the selected calendar is not one of the OptionalCalendars, the results of the methods and the values of the properties are undefined.
.NET FrameworkSupported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0
.NET Framework Client ProfileSupported in: 4, 3.5 SP1
Portable Class LibrarySupported in: Portable Class Library
.NET for Windows Store appsSupported in: Windows 8
Supported in: Windows Phone 8.1
Supported in: Windows Phone Silverlight 8.1
Supported in: Windows Phone Silverlight 8
Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.