mscorlib(4.0.0.0) API with additions
|
Represents a character as a UTF-16 code unit. More...
Public Member Functions | |
override int | GetHashCode () |
Returns the hash code for this instance. More... | |
override bool | Equals (object obj) |
Returns a value that indicates whether this instance is equal to a specified object. More... | |
bool | Equals (char obj) |
Returns a value that indicates whether this instance is equal to the specified T:System.Char object. More... | |
int | CompareTo (object value) |
Compares this instance to a specified object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified T:System.Object. More... | |
int | CompareTo (char value) |
Compares this instance to a specified T:System.Char object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified T:System.Char object. More... | |
override string | ToString () |
Converts the value of this instance to its equivalent string representation. More... | |
string | ToString (IFormatProvider provider) |
Converts the value of this instance to its equivalent string representation using the specified culture-specific format information. More... | |
TypeCode | GetTypeCode () |
Returns the T:System.TypeCode for value type T:System.Char. More... | |
bool IConvertible. | ToBoolean (IFormatProvider provider) |
Note This conversion is not supported. Attempting to do so throws an T:System.InvalidCastException. More... | |
char IConvertible. | ToChar (IFormatProvider provider) |
For a description of this member, see M:System.IConvertible.ToChar(System.IFormatProvider). More... | |
sbyte IConvertible. | ToSByte (IFormatProvider provider) |
For a description of this member, see M:System.IConvertible.ToSByte(System.IFormatProvider). More... | |
byte IConvertible. | ToByte (IFormatProvider provider) |
For a description of this member, see M:System.IConvertible.ToByte(System.IFormatProvider). More... | |
short IConvertible. | ToInt16 (IFormatProvider provider) |
For a description of this member, see M:System.IConvertible.ToInt16(System.IFormatProvider). More... | |
ushort IConvertible. | ToUInt16 (IFormatProvider provider) |
For a description of this member, see M:System.IConvertible.ToUInt16(System.IFormatProvider). More... | |
int IConvertible. | ToInt32 (IFormatProvider provider) |
For a description of this member, see M:System.IConvertible.ToInt32(System.IFormatProvider). More... | |
uint IConvertible. | ToUInt32 (IFormatProvider provider) |
For a description of this member, see M:System.IConvertible.ToUInt32(System.IFormatProvider). More... | |
long IConvertible. | ToInt64 (IFormatProvider provider) |
For a description of this member, see M:System.IConvertible.ToInt64(System.IFormatProvider). More... | |
ulong IConvertible. | ToUInt64 (IFormatProvider provider) |
For a description of this member, see M:System.IConvertible.ToUInt64(System.IFormatProvider). More... | |
float IConvertible. | ToSingle (IFormatProvider provider) |
Note This conversion is not supported. Attempting to do so throws an T:System.InvalidCastException. More... | |
double IConvertible. | ToDouble (IFormatProvider provider) |
Note This conversion is not supported. Attempting to do so throws an T:System.InvalidCastException. More... | |
decimal IConvertible. | ToDecimal (IFormatProvider provider) |
Note This conversion is not supported. Attempting to do so throws an T:System.InvalidCastException. More... | |
DateTime IConvertible. | ToDateTime (IFormatProvider provider) |
Note This conversion is not supported. Attempting to do so throws an T:System.InvalidCastException. More... | |
object IConvertible. | ToType (Type type, IFormatProvider provider) |
For a description of this member, see M:System.IConvertible.ToType(System.Type,System.IFormatProvider). More... | |
![]() | |
bool | Equals (T other) |
Indicates whether the current object is equal to another object of the same type. More... | |
Static Public Member Functions | |
static string | ToString (char c) |
Converts the specified Unicode character to its equivalent string representation. More... | |
static char | Parse (string s) |
Converts the value of the specified string to its equivalent Unicode character. More... | |
static bool | TryParse (string s, out char result) |
Converts the value of the specified string to its equivalent Unicode character. A return code indicates whether the conversion succeeded or failed. More... | |
static bool | IsDigit (char c) |
Indicates whether the specified Unicode character is categorized as a decimal digit. More... | |
static internal bool | CheckLetter (UnicodeCategory uc) |
static bool | IsLetter (char c) |
Indicates whether the specified Unicode character is categorized as a Unicode letter. More... | |
static bool | IsWhiteSpace (char c) |
Indicates whether the specified Unicode character is categorized as white space. More... | |
static bool | IsUpper (char c) |
Indicates whether the specified Unicode character is categorized as an uppercase letter. More... | |
static bool | IsLower (char c) |
Indicates whether the specified Unicode character is categorized as a lowercase letter. More... | |
static internal bool | CheckPunctuation (UnicodeCategory uc) |
static bool | IsPunctuation (char c) |
Indicates whether the specified Unicode character is categorized as a punctuation mark. More... | |
static internal bool | CheckLetterOrDigit (UnicodeCategory uc) |
static bool | IsLetterOrDigit (char c) |
Indicates whether the specified Unicode character is categorized as a letter or a decimal digit. More... | |
static char | ToUpper (char c, CultureInfo culture) |
Converts the value of a specified Unicode character to its uppercase equivalent using specified culture-specific formatting information. More... | |
static char | ToUpper (char c) |
Converts the value of a Unicode character to its uppercase equivalent. More... | |
static char | ToUpperInvariant (char c) |
Converts the value of a Unicode character to its uppercase equivalent using the casing rules of the invariant culture. More... | |
static char | ToLower (char c, CultureInfo culture) |
Converts the value of a specified Unicode character to its lowercase equivalent using specified culture-specific formatting information. More... | |
static char | ToLower (char c) |
Converts the value of a Unicode character to its lowercase equivalent. More... | |
static char | ToLowerInvariant (char c) |
Converts the value of a Unicode character to its lowercase equivalent using the casing rules of the invariant culture. More... | |
static bool | IsControl (char c) |
Indicates whether the specified Unicode character is categorized as a control character. More... | |
static bool | IsControl (string s, int index) |
Indicates whether the character at the specified position in a specified string is categorized as a control character. More... | |
static bool | IsDigit (string s, int index) |
Indicates whether the character at the specified position in a specified string is categorized as a decimal digit. More... | |
static bool | IsLetter (string s, int index) |
Indicates whether the character at the specified position in a specified string is categorized as a Unicode letter. More... | |
static bool | IsLetterOrDigit (string s, int index) |
Indicates whether the character at the specified position in a specified string is categorized as a letter or a decimal digit. More... | |
static bool | IsLower (string s, int index) |
Indicates whether the character at the specified position in a specified string is categorized as a lowercase letter. More... | |
static internal bool | CheckNumber (UnicodeCategory uc) |
static bool | IsNumber (char c) |
Indicates whether the specified Unicode character is categorized as a number. More... | |
static bool | IsNumber (string s, int index) |
Indicates whether the character at the specified position in a specified string is categorized as a number. More... | |
static bool | IsPunctuation (string s, int index) |
Indicates whether the character at the specified position in a specified string is categorized as a punctuation mark. More... | |
static internal bool | CheckSeparator (UnicodeCategory uc) |
static bool | IsSeparator (char c) |
Indicates whether the specified Unicode character is categorized as a separator character. More... | |
static bool | IsSeparator (string s, int index) |
Indicates whether the character at the specified position in a specified string is categorized as a separator character. More... | |
static bool | IsSurrogate (char c) |
Indicates whether the specified character has a surrogate code unit. More... | |
static bool | IsSurrogate (string s, int index) |
Indicates whether the character at the specified position in a specified string has a surrogate code unit. More... | |
static internal bool | CheckSymbol (UnicodeCategory uc) |
static bool | IsSymbol (char c) |
Indicates whether the specified Unicode character is categorized as a symbol character. More... | |
static bool | IsSymbol (string s, int index) |
Indicates whether the character at the specified position in a specified string is categorized as a symbol character. More... | |
static bool | IsUpper (string s, int index) |
Indicates whether the character at the specified position in a specified string is categorized as an uppercase letter. More... | |
static bool | IsWhiteSpace (string s, int index) |
Indicates whether the character at the specified position in a specified string is categorized as white space. More... | |
static UnicodeCategory | GetUnicodeCategory (char c) |
Categorizes a specified Unicode character into a group identified by one of the T:System.Globalization.UnicodeCategory values. More... | |
static UnicodeCategory | GetUnicodeCategory (string s, int index) |
Categorizes the character at the specified position in a specified string into a group identified by one of the T:System.Globalization.UnicodeCategory values. More... | |
static double | GetNumericValue (char c) |
Converts the specified numeric Unicode character to a double-precision floating point number. More... | |
static double | GetNumericValue (string s, int index) |
Converts the numeric Unicode character at the specified position in a specified string to a double-precision floating point number. More... | |
static bool | IsHighSurrogate (char c) |
Indicates whether the specified T:System.Char object is a high surrogate. More... | |
static bool | IsHighSurrogate (string s, int index) |
Indicates whether the T:System.Char object at the specified position in a string is a high surrogate. More... | |
static bool | IsLowSurrogate (char c) |
Indicates whether the specified T:System.Char object is a low surrogate. More... | |
static bool | IsLowSurrogate (string s, int index) |
Indicates whether the T:System.Char object at the specified position in a string is a low surrogate. More... | |
static bool | IsSurrogatePair (string s, int index) |
Indicates whether two adjacent T:System.Char objects at a specified position in a string form a surrogate pair. More... | |
static bool | IsSurrogatePair (char highSurrogate, char lowSurrogate) |
Indicates whether the two specified T:System.Char objects form a surrogate pair. More... | |
static string | ConvertFromUtf32 (int utf32) |
Converts the specified Unicode code point into a UTF-16 encoded string. More... | |
static int | ConvertToUtf32 (char highSurrogate, char lowSurrogate) |
Converts the value of a UTF-16 encoded surrogate pair into a Unicode code point. More... | |
static int | ConvertToUtf32 (string s, int index) |
Converts the value of a UTF-16 encoded character or surrogate pair at a specified position in a string into a Unicode code point. More... | |
Public Attributes | |
internal char | m_value |
const char | MaxValue = '\uffff' |
Represents the largest possible value of a T:System.Char. This field is constant. More... | |
const char | MinValue = '\0' |
Represents the smallest possible value of a T:System.Char. This field is constant. More... | |
internal const int | UNICODE_PLANE00_END = 65535 |
internal const int | UNICODE_PLANE01_START = 65536 |
internal const int | UNICODE_PLANE16_END = 1114111 |
internal const int | HIGH_SURROGATE_START = 55296 |
internal const int | LOW_SURROGATE_END = 57343 |
int System.Char.CompareTo | ( | object | value | ) |
Compares this instance to a specified object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified T:System.Object.
value | An object to compare this instance to, or null . |
null
. T:System.ArgumentException | value is not a T:System.Char object. |
int System.Char.CompareTo | ( | char | value | ) |
Compares this instance to a specified T:System.Char object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified T:System.Char object.
value | A T:System.Char object to compare. |
|
static |
Converts the specified Unicode code point into a UTF-16 encoded string.
utf32 | A 21-bit Unicode code point. |
T:System.ArgumentOutOfRangeException | utf32 is not a valid 21-bit Unicode code point ranging from U+0 through U+10FFFF, excluding the surrogate pair range from U+D800 through U+DFFF. |
|
static |
Converts the value of a UTF-16 encoded surrogate pair into a Unicode code point.
highSurrogate | A high surrogate code unit (that is, a code unit ranging from U+D800 through U+DBFF). |
lowSurrogate | A low surrogate code unit (that is, a code unit ranging from U+DC00 through U+DFFF). |
T:System.ArgumentOutOfRangeException | highSurrogate is not in the range U+D800 through U+DBFF, or lowSurrogate is not in the range U+DC00 through U+DFFF. |
|
static |
Converts the value of a UTF-16 encoded character or surrogate pair at a specified position in a string into a Unicode code point.
s | A string that contains a character or surrogate pair. |
index | The index position of the character or surrogate pair in s . |
T:System.ArgumentNullException | s is null . |
T:System.ArgumentOutOfRangeException | index is not a position within s . |
T:System.ArgumentException | The specified index position contains a surrogate pair, and either the first character in the pair is not a valid high surrogate or the second character in the pair is not a valid low surrogate. |
override bool System.Char.Equals | ( | object | obj | ) |
Returns a value that indicates whether this instance is equal to a specified object.
obj | An object to compare with this instance or null . |
true
if obj is an instance of T:System.Char and equals the value of this instance; otherwise, false
.bool System.Char.Equals | ( | char | obj | ) |
Returns a value that indicates whether this instance is equal to the specified T:System.Char object.
obj | An object to compare to this instance. |
true
if the obj parameter equals the value of this instance; otherwise, false
.override int System.Char.GetHashCode | ( | ) |
|
static |
|
static |
Converts the numeric Unicode character at the specified position in a specified string to a double-precision floating point number.
s | A T:System.String. |
index | The character position in s . |
T:System.ArgumentNullException | s is null . |
T:System.ArgumentOutOfRangeException | index is less than zero or greater than the last position in s . |
TypeCode System.Char.GetTypeCode | ( | ) |
Returns the T:System.TypeCode for value type T:System.Char.
Implements System.IConvertible.
|
static |
Categorizes a specified Unicode character into a group identified by one of the T:System.Globalization.UnicodeCategory values.
c | The Unicode character to categorize. |
|
static |
Categorizes the character at the specified position in a specified string into a group identified by one of the T:System.Globalization.UnicodeCategory values.
s | A T:System.String. |
index | The character position in s . |
T:System.ArgumentNullException | s is null . |
T:System.ArgumentOutOfRangeException | index is less than zero or greater than the last position in s . |
|
static |
|
static |
Indicates whether the character at the specified position in a specified string is categorized as a control character.
s | A string. |
index | The position of the character to evaluate in s . |
true
if the character at position index in s is a control character; otherwise, false
.T:System.ArgumentNullException | s is null . |
T:System.ArgumentOutOfRangeException | index is less than zero or greater than the last position in s . |
|
static |
|
static |
Indicates whether the character at the specified position in a specified string is categorized as a decimal digit.
s | A string. |
index | The position of the character to evaluate in s . |
true
if the character at position index in s is a decimal digit; otherwise, false
.T:System.ArgumentNullException | s is null . |
T:System.ArgumentOutOfRangeException | index is less than zero or greater than the last position in s . |
|
static |
Indicates whether the specified T:System.Char object is a high surrogate.
c | The Unicode character to evaluate. |
true
if the numeric value of the c parameter ranges from U+D800 through U+DBFF; otherwise, false
.
|
static |
Indicates whether the T:System.Char object at the specified position in a string is a high surrogate.
s | A string. |
index | The position of the character to evaluate in s . |
true
if the numeric value of the specified character in the s parameter ranges from U+D800 through U+DBFF; otherwise, false
.T:System.ArgumentNullException | s is null . |
T:System.ArgumentOutOfRangeException | index is not a position within s . |
|
static |
|
static |
Indicates whether the character at the specified position in a specified string is categorized as a Unicode letter.
s | A string. |
index | The position of the character to evaluate in s . |
true
if the character at position index in s is a letter; otherwise, false
.T:System.ArgumentNullException | s is null . |
T:System.ArgumentOutOfRangeException | index is less than zero or greater than the last position in s . |
|
static |
|
static |
Indicates whether the character at the specified position in a specified string is categorized as a letter or a decimal digit.
s | A string. |
index | The position of the character to evaluate in s . |
true
if the character at position index in s is a letter or a decimal digit; otherwise, false
.T:System.ArgumentNullException | s is null . |
T:System.ArgumentOutOfRangeException | index is less than zero or greater than the last position in s . |
|
static |
|
static |
Indicates whether the character at the specified position in a specified string is categorized as a lowercase letter.
s | A string. |
index | The position of the character to evaluate in s . |
true
if the character at position index in s is a lowercase letter; otherwise, false
.T:System.ArgumentNullException | s is null . |
T:System.ArgumentOutOfRangeException | index is less than zero or greater than the last position in s . |
|
static |
Indicates whether the specified T:System.Char object is a low surrogate.
c | The character to evaluate. |
true
if the numeric value of the c parameter ranges from U+DC00 through U+DFFF; otherwise, false
.
|
static |
Indicates whether the T:System.Char object at the specified position in a string is a low surrogate.
s | A string. |
index | The position of the character to evaluate in s . |
true
if the numeric value of the specified character in the s parameter ranges from U+DC00 through U+DFFF; otherwise, false
.T:System.ArgumentNullException | s is null . |
T:System.ArgumentOutOfRangeException | index is not a position within s . |
|
static |
|
static |
Indicates whether the character at the specified position in a specified string is categorized as a number.
s | A string. |
index | The position of the character to evaluate in s . |
true
if the character at position index in s is a number; otherwise, false
.T:System.ArgumentNullException | s is null . |
T:System.ArgumentOutOfRangeException | index is less than zero or greater than the last position in s . |
|
static |
|
static |
Indicates whether the character at the specified position in a specified string is categorized as a punctuation mark.
s | A string. |
index | The position of the character to evaluate in s . |
true
if the character at position index in s is a punctuation mark; otherwise, false
.T:System.ArgumentNullException | s is null . |
T:System.ArgumentOutOfRangeException | index is less than zero or greater than the last position in s . |
|
static |
|
static |
Indicates whether the character at the specified position in a specified string is categorized as a separator character.
s | A string. |
index | The position of the character to evaluate in s . |
true
if the character at position index in s is a separator character; otherwise, false
.T:System.ArgumentNullException | s is null . |
T:System.ArgumentOutOfRangeException | index is less than zero or greater than the last position in s . |
|
static |
|
static |
Indicates whether the character at the specified position in a specified string has a surrogate code unit.
s | A string. |
index | The position of the character to evaluate in s . |
true
if the character at position index in s is a either a high surrogate or a low surrogate; otherwise, false
.T:System.ArgumentNullException | s is null . |
T:System.ArgumentOutOfRangeException | index is less than zero or greater than the last position in s . |
|
static |
Indicates whether two adjacent T:System.Char objects at a specified position in a string form a surrogate pair.
s | A string. |
index | The starting position of the pair of characters to evaluate within s . |
true
if the s parameter includes adjacent characters at positions index and index + 1, and the numeric value of the character at position index ranges from U+D800 through U+DBFF, and the numeric value of the character at position index +1 ranges from U+DC00 through U+DFFF; otherwise, false
.T:System.ArgumentNullException | s is null . |
T:System.ArgumentOutOfRangeException | index is not a position within s . |
|
static |
Indicates whether the two specified T:System.Char objects form a surrogate pair.
highSurrogate | The character to evaluate as the high surrogate of a surrogate pair. |
lowSurrogate | The character to evaluate as the low surrogate of a surrogate pair. |
true
if the numeric value of the highSurrogate parameter ranges from U+D800 through U+DBFF, and the numeric value of the lowSurrogate parameter ranges from U+DC00 through U+DFFF; otherwise, false
.
|
static |
|
static |
Indicates whether the character at the specified position in a specified string is categorized as a symbol character.
s | A string. |
index | The position of the character to evaluate in s . |
true
if the character at position index in s is a symbol character; otherwise, false
.T:System.ArgumentNullException | s is null . |
T:System.ArgumentOutOfRangeException | index is less than zero or greater than the last position in s . |
|
static |
|
static |
Indicates whether the character at the specified position in a specified string is categorized as an uppercase letter.
s | A string. |
index | The position of the character to evaluate in s . |
true
if the character at position index in s is an uppercase letter; otherwise, false
.T:System.ArgumentNullException | s is null . |
T:System.ArgumentOutOfRangeException | index is less than zero or greater than the last position in s . |
|
static |
|
static |
Indicates whether the character at the specified position in a specified string is categorized as white space.
s | A string. |
index | The position of the character to evaluate in s . |
true
if the character at position index in s is white space; otherwise, false
.T:System.ArgumentNullException | s is null . |
T:System.ArgumentOutOfRangeException | index is less than zero or greater than the last position in s . |
|
static |
Converts the value of the specified string to its equivalent Unicode character.
s | A string that contains a single character, or null . |
T:System.ArgumentNullException | s is null . |
T:System.FormatException | The length of s is not 1. |
bool IConvertible. System.Char.ToBoolean | ( | IFormatProvider | provider | ) |
Note This conversion is not supported. Attempting to do so throws an T:System.InvalidCastException.
provider | This parameter is ignored. |
T:System.InvalidCastException | This conversion is not supported. |
Implements System.IConvertible.
byte IConvertible. System.Char.ToByte | ( | IFormatProvider | provider | ) |
For a description of this member, see M:System.IConvertible.ToByte(System.IFormatProvider).
provider | This parameter is ignored. |
Implements System.IConvertible.
char IConvertible. System.Char.ToChar | ( | IFormatProvider | provider | ) |
For a description of this member, see M:System.IConvertible.ToChar(System.IFormatProvider).
provider | This parameter is ignored. |
Implements System.IConvertible.
DateTime IConvertible. System.Char.ToDateTime | ( | IFormatProvider | provider | ) |
Note This conversion is not supported. Attempting to do so throws an T:System.InvalidCastException.
provider | This parameter is ignored. |
T:System.InvalidCastException | This conversion is not supported. |
Implements System.IConvertible.
decimal IConvertible. System.Char.ToDecimal | ( | IFormatProvider | provider | ) |
Note This conversion is not supported. Attempting to do so throws an T:System.InvalidCastException.
provider | This parameter is ignored. |
T:System.InvalidCastException | This conversion is not supported. |
Implements System.IConvertible.
double IConvertible. System.Char.ToDouble | ( | IFormatProvider | provider | ) |
Note This conversion is not supported. Attempting to do so throws an T:System.InvalidCastException.
provider | This parameter is ignored. |
T:System.InvalidCastException | This conversion is not supported. |
Implements System.IConvertible.
short IConvertible. System.Char.ToInt16 | ( | IFormatProvider | provider | ) |
For a description of this member, see M:System.IConvertible.ToInt16(System.IFormatProvider).
provider | This parameter is ignored. |
Implements System.IConvertible.
int IConvertible. System.Char.ToInt32 | ( | IFormatProvider | provider | ) |
For a description of this member, see M:System.IConvertible.ToInt32(System.IFormatProvider).
provider | This parameter is ignored. |
Implements System.IConvertible.
long IConvertible. System.Char.ToInt64 | ( | IFormatProvider | provider | ) |
For a description of this member, see M:System.IConvertible.ToInt64(System.IFormatProvider).
provider | This parameter is ignored. |
Implements System.IConvertible.
|
static |
Converts the value of a specified Unicode character to its lowercase equivalent using specified culture-specific formatting information.
c | The Unicode character to convert. |
culture | An object that supplies culture-specific casing rules. |
T:System.ArgumentNullException | culture is null . |
|
static |
|
static |
Converts the value of a Unicode character to its lowercase equivalent using the casing rules of the invariant culture.
c | The Unicode character to convert. |
sbyte IConvertible. System.Char.ToSByte | ( | IFormatProvider | provider | ) |
For a description of this member, see M:System.IConvertible.ToSByte(System.IFormatProvider).
provider | This parameter is ignored. |
Implements System.IConvertible.
float IConvertible. System.Char.ToSingle | ( | IFormatProvider | provider | ) |
Note This conversion is not supported. Attempting to do so throws an T:System.InvalidCastException.
provider | This parameter is ignored. |
T:System.InvalidCastException | This conversion is not supported. |
Implements System.IConvertible.
override string System.Char.ToString | ( | ) |
string System.Char.ToString | ( | IFormatProvider | provider | ) |
Converts the value of this instance to its equivalent string representation using the specified culture-specific format information.
provider | (Reserved) An object that supplies culture-specific formatting information. |
Implements System.IConvertible.
|
static |
object IConvertible. System.Char.ToType | ( | Type | type, |
IFormatProvider | provider | ||
) |
For a description of this member, see M:System.IConvertible.ToType(System.Type,System.IFormatProvider).
type | A T:System.Type object. |
provider | An T:System.IFormatProvider object. |
T:System.ArgumentNullException | type is null . |
T:System.InvalidCastException | The value of the current T:System.Char object cannot be converted to the type specified by the type parameter. |
Implements System.IConvertible.
ushort IConvertible. System.Char.ToUInt16 | ( | IFormatProvider | provider | ) |
For a description of this member, see M:System.IConvertible.ToUInt16(System.IFormatProvider).
provider | An T:System.IFormatProvider object. (Specify null because the provider parameter is ignored.) |
Implements System.IConvertible.
uint IConvertible. System.Char.ToUInt32 | ( | IFormatProvider | provider | ) |
For a description of this member, see M:System.IConvertible.ToUInt32(System.IFormatProvider).
provider | An T:System.IFormatProvider object. (Specify null because the provider parameter is ignored.) |
Implements System.IConvertible.
ulong IConvertible. System.Char.ToUInt64 | ( | IFormatProvider | provider | ) |
For a description of this member, see M:System.IConvertible.ToUInt64(System.IFormatProvider).
provider | An T:System.IFormatProvider object. (Specify null because the provider parameter is ignored.) |
Implements System.IConvertible.
|
static |
Converts the value of a specified Unicode character to its uppercase equivalent using specified culture-specific formatting information.
c | The Unicode character to convert. |
culture | An object that supplies culture-specific casing rules. |
T:System.ArgumentNullException | culture is null . |
|
static |
Converts the value of a Unicode character to its uppercase equivalent.
c | The Unicode character to convert. |
|
static |
Converts the value of a Unicode character to its uppercase equivalent using the casing rules of the invariant culture.
c | The Unicode character to convert. |
|
static |
Converts the value of the specified string to its equivalent Unicode character. A return code indicates whether the conversion succeeded or failed.
s | A string that contains a single character, or null . |
result | When this method returns, contains a Unicode character equivalent to the sole character in s , if the conversion succeeded, or an undefined value if the conversion failed. The conversion fails if the s parameter is null or the length of s is not 1. This parameter is passed uninitialized. |
true
if the s parameter was converted successfully; otherwise, false
.const char System.Char.MaxValue = '\uffff' |
Represents the largest possible value of a T:System.Char. This field is constant.
const char System.Char.MinValue = '\0' |
Represents the smallest possible value of a T:System.Char. This field is constant.