Char Methods

The Char type exposes the following members.

  Name Description
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 CompareTo(Char) Compares this instance to a specified Char object and returns an integer that indicates whether this instance precedes, follows, or has the same position in the sort order as the specified Char value.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 CompareTo(Object) Compares this instance to a specified object and returns an integer that indicates whether this instance precedes, follows, or has the same position in the sort order as the specified object.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Equals(Char) Returns a value indicating whether this instance is equal to the specified Char object.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Equals(Object) Returns a value indicating whether this instance is equal to a specified object. (Overrides ValueType.Equals(Object).)
Protected method Supported by Silverlight for Windows Phone Supported by Xbox 360 Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetHashCode Returns the hash code for this instance. (Overrides ValueType.GetHashCode().)
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 GetNumericValue(Char) Converts the specified numeric Unicode character to a double-precision floating point number.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 GetNumericValue(String, Int32) Converts the numeric Unicode character at the specified position in a specified string to a double-precision floating point number.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 GetTypeCode Returns the TypeCode for value type Char.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 GetUnicodeCategory(Char) Categorizes a specified Unicode character into a group identified by one of the UnicodeCategory values.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 GetUnicodeCategory(String, Int32) Categorizes the character at the specified position in a specified string into a group identified by one of the UnicodeCategory values.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsControl(Char) Indicates whether the specified Unicode character is categorized as a control character.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsControl(String, Int32) Indicates whether the character at the specified position in a specified string is categorized as a control character.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsDigit(Char) Indicates whether the specified Unicode character is categorized as a decimal digit.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsDigit(String, Int32) Indicates whether the character at the specified position in a specified string is categorized as a decimal digit.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsLetter(Char) Indicates whether the specified Unicode character is categorized as a Unicode letter.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsLetter(String, Int32) Indicates whether the character at the specified position in a specified string is categorized as a Unicode letter.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsLetterOrDigit(Char) Indicates whether the specified Unicode character is categorized as a letter or a decimal digit.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsLetterOrDigit(String, Int32) Indicates whether the character at the specified position in a specified string is categorized as a letter or a decimal digit.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsLower(Char) Indicates whether the specified Unicode character is categorized as a lowercase letter.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsLower(String, Int32) Indicates whether the character at the specified position in a specified string is categorized as a lowercase letter.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsNumber(Char) Indicates whether the specified Unicode character is categorized as a number.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsNumber(String, Int32) Indicates whether the character at the specified position in a specified string is categorized as a number.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsPunctuation(Char) Indicates whether the specified Unicode character is categorized as a punctuation mark.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsPunctuation(String, Int32) Indicates whether the character at the specified position in a specified string is categorized as a punctuation mark.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsSeparator(Char) Indicates whether the specified Unicode character is categorized as a separator character.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsSeparator(String, Int32) Indicates whether the character at the specified position in a specified string is categorized as a separator character.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsSurrogate(Char) Indicates whether the specified character has a surrogate code point.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsSurrogate(String, Int32) Indicates whether the character at the specified position in a specified string has a surrogate code point.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsSurrogatePair(Char, Char) Indicates whether the two specified Char objects form a surrogate pair.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsSurrogatePair(String, Int32) Indicates whether two adjacent Char objects at a specified position in a string form a surrogate pair.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsSymbol(Char) Indicates whether the specified Unicode character is categorized as a symbol character.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsSymbol(String, Int32) Indicates whether the character at the specified position in a specified string is categorized as a symbol character.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsUpper(Char) Indicates whether the specified Unicode character is categorized as an uppercase letter.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsUpper(String, Int32) Indicates whether the character at the specified position in a specified string is categorized as an uppercase letter.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsWhiteSpace(Char) Indicates whether the specified Unicode character is categorized as white space.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 IsWhiteSpace(String, Int32) Indicates whether the character at the specified position in a specified string is categorized as white space.
Protected method Supported by Silverlight for Windows Phone Supported by Xbox 360 MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToLower(Char) Converts the value of a Unicode character to its lowercase equivalent.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToLower(Char, CultureInfo) Converts the value of a specified Unicode character to its lowercase equivalent using specified culture-specific formatting information.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToLowerInvariant Converts the value of a Unicode character to its lowercase equivalent using the casing rules of the invariant culture.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ToString() Converts the value of this instance to its equivalent string representation. (Overrides ValueType.ToString().)
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToString(Char) Converts the specified Unicode character to its equivalent string representation.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 ToString(IFormatProvider) Converts the value of this instance to its equivalent string representation using the specified culture-specific format information.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToUpper(Char) Converts the value of a Unicode character to its uppercase equivalent.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToUpper(Char, CultureInfo) Converts the value of a specified Unicode character to its uppercase equivalent using specified culture-specific formatting information.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 ToUpperInvariant Converts the value of a Unicode character to its uppercase equivalent using the casing rules of the invariant culture.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 TryParse Converts the value of the specified string to its equivalent Unicode character. A return code indicates whether the conversion succeeded or failed.
Top

  Name Description
Explicit interface implemetation Private method Supported by Silverlight for Windows Phone Supported by Xbox 360 IConvertible.ToBoolean Infrastructure. Note   This conversion is not supported. Attempting to do so throws an InvalidCastException.
Explicit interface implemetation Private method Supported by Silverlight for Windows Phone Supported by Xbox 360 IConvertible.ToByte Infrastructure. For a description of this member, see ToByte.
Explicit interface implemetation Private method Supported by Silverlight for Windows Phone Supported by Xbox 360 IConvertible.ToChar Infrastructure. For a description of this member, see IConvertible.ToChar.
Explicit interface implemetation Private method Supported by Silverlight for Windows Phone Supported by Xbox 360 IConvertible.ToDateTime Infrastructure. Note   This conversion is not supported. Attempting to do so throws an InvalidCastException.
Explicit interface implemetation Private method Supported by Silverlight for Windows Phone Supported by Xbox 360 IConvertible.ToDecimal Infrastructure. Note   This conversion is not supported. Attempting to do so throws an InvalidCastException.
Explicit interface implemetation Private method Supported by Silverlight for Windows Phone Supported by Xbox 360 IConvertible.ToDouble Infrastructure. Note   This conversion is not supported. Attempting to do so throws an InvalidCastException.
Explicit interface implemetation Private method Supported by Silverlight for Windows Phone Supported by Xbox 360 IConvertible.ToInt16 Infrastructure. For a description of this member, see ToInt16.
Explicit interface implemetation Private method Supported by Silverlight for Windows Phone Supported by Xbox 360 IConvertible.ToInt32 Infrastructure. For a description of this member, see ToInt32.
Explicit interface implemetation Private method Supported by Silverlight for Windows Phone Supported by Xbox 360 IConvertible.ToInt64 Infrastructure. For a description of this member, see ToInt64.
Explicit interface implemetation Private method Supported by Silverlight for Windows Phone Supported by Xbox 360 IConvertible.ToSByte Infrastructure. For a description of this member, see ToSByte.
Explicit interface implemetation Private method Supported by Silverlight for Windows Phone Supported by Xbox 360 IConvertible.ToSingle Infrastructure. Note   This conversion is not supported. Attempting to do so throws an InvalidCastException.
Explicit interface implemetation Private method Supported by Silverlight for Windows Phone Supported by Xbox 360 IConvertible.ToType Infrastructure. For a description of this member, see IConvertible.ToType.
Explicit interface implemetation Private method Supported by Silverlight for Windows Phone Supported by Xbox 360 IConvertible.ToUInt16 Infrastructure. For a description of this member, see ToUInt16.
Explicit interface implemetation Private method Supported by Silverlight for Windows Phone Supported by Xbox 360 IConvertible.ToUInt32 Infrastructure. For a description of this member, see ToUInt32.
Explicit interface implemetation Private method Supported by Silverlight for Windows Phone Supported by Xbox 360 IConvertible.ToUInt64 Infrastructure. For a description of this member, see ToUInt64.
Top

Community Additions

ADD
Show: