class TextInfo
in global :: System . Globalization
Defines text properties and behaviors, such as casing, that are specific to a writing system.
public int ANSICodePage { get; }
Gets the American National Standards Institute (ANSI) code page used by the writing system represented by the current .
- Returns The ANSI code page used by the writing system represented by the current .
public string CultureName { get; }
Gets the name of the culture associated with the current object.
- Returns The name of a culture.
public int EBCDICCodePage { get; }
Gets the Extended Binary Coded Decimal Interchange Code (EBCDIC) code page used by the writing system represented by the current .
- Returns The EBCDIC code page used by the writing system represented by the current .
public bool Equals( object obj )
Determines whether the specified object represents the same writing system as the current object.
objThe object to compare with the current .- Returns if represents the same writing system as the current ; otherwise, .
public bool IsReadOnly { get; }
Gets a value indicating whether the current object is read-only.
- Returns if the current object is read-only; otherwise, .
public bool IsRightToLeft { get; }
Gets a value indicating whether the current object represents a writing system where text flows from right to left.
- Returns if text flows from right to left; otherwise, .
public int LCID { get; }
Gets the culture identifier for the culture associated with the current object.
- Returns A number that identifies the culture from which the current object was created.
public string ListSeparator { get; set; }
Gets or sets the string that separates items in a list.
- Returns The string that separates items in a list.
public int MacCodePage { get; }
Gets the Macintosh code page used by the writing system represented by the current .
- Returns The Macintosh code page used by the writing system represented by the current .
public int OEMCodePage { get; }
Gets the original equipment manufacturer (OEM) code page used by the writing system represented by the current .
- Returns The OEM code page used by the writing system represented by the current .
public static TextInfo ReadOnly( TextInfo textInfo )
Returns a read-only version of the specified object.
textInfoA object.- Returns The object specified by the parameter, if is read-only. -or- A read-only memberwise clone of the object specified by , if is not read-only.
public char ToLower( char c )
Converts the specified character to lowercase.
cThe character to convert to lowercase.- Returns The specified character converted to lowercase.
public string ToLower( string str )
Converts the specified string to lowercase.
strThe string to convert to lowercase.- Returns The specified string converted to lowercase.
public string ToTitleCase( string str )
Converts the specified string to title case (except for words that are entirely in uppercase, which are considered to be acronyms).
strThe string to convert to title case.- Returns The specified string converted to title case.
public char ToUpper( char c )
Converts the specified character to uppercase.
cThe character to convert to uppercase.- Returns The specified character converted to uppercase.
public string ToUpper( string str )
Converts the specified string to uppercase.
strThe string to convert to uppercase.- Returns The specified string converted to uppercase.
public int GetHashCode( )
😔 No documentation found.
public string ToString( )
😔 No documentation found.
public object Clone( )
😔 No documentation found.
public Type GetType( )
😔 No documentation found.