Export (0) Print
Expand All

Char Members

Represents a Unicode character.

The following tables list the members exposed by the Char type.

  Name Description
Public field Static Supported by the .NET Compact Framework MaxValue Represents the largest possible value of a Char. This field is constant.
Public field Static Supported by the .NET Compact Framework MinValue Represents the smallest possible value of a Char. This field is constant.
Top

  Name Description
Public method Supported by the .NET Compact Framework CompareTo Overloaded. Compares this instance to a specified object or value type, and returns an indication of their relative values.
Public method Static ConvertFromUtf32 Converts the specified Unicode code point into a UTF-16 encoded string.
Public method Static ConvertToUtf32 Overloaded. Converts the value of a UTF-16 encoded surrogate pair into a Unicode code point.
Public method Supported by the .NET Compact Framework Equals Overloaded.  
Public method Supported by the .NET Compact Framework GetHashCode Overridden. Returns the hash code for this instance.
Public method Static Supported by the .NET Compact Framework GetNumericValue Overloaded. Converts a specified numeric Unicode character to a double-precision floating point number.
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetTypeCode Returns the TypeCode for value type Char.
Public method Static Supported by the .NET Compact Framework GetUnicodeCategory Overloaded. Categorizes a Unicode character into a group identified by one of the UnicodeCategory values.
Public method Static Supported by the .NET Compact Framework IsControl Overloaded. Indicates whether a specified Unicode character is categorized as a control character.
Public method Static Supported by the .NET Compact Framework IsDigit Overloaded. Indicates whether a Unicode character is categorized as a decimal digit.
Public method Static IsHighSurrogate Overloaded. Indicates whether the specified Char object is a high surrogate.
Public method Static Supported by the .NET Compact Framework IsLetter Overloaded. Indicates whether a Unicode character is categorized as an alphabetic letter.
Public method Static Supported by the .NET Compact Framework IsLetterOrDigit Overloaded. Indicates whether a Unicode character is categorized as an alphabetic letter or a decimal digit.
Public method Static Supported by the .NET Compact Framework IsLower Overloaded. Indicates whether a Unicode character is categorized as a lowercase letter.
Public method Static IsLowSurrogate Overloaded. Indicates whether the specified Char object is a low surrogate.
Public method Static Supported by the .NET Compact Framework IsNumber Overloaded. Indicates whether a Unicode character is categorized as a number.
Public method Static Supported by the .NET Compact Framework IsPunctuation Overloaded. Indicates whether a Unicode character is categorized as a punctuation mark.
Public method Static Supported by the .NET Compact Framework IsSeparator Overloaded. Indicates whether a Unicode character is categorized as a separator character.
Public method Static Supported by the .NET Compact Framework IsSurrogate Overloaded. Indicates whether a Unicode character is categorized as a surrogate character.
Public method Static Supported by the .NET Compact Framework IsSurrogatePair Overloaded. Indicates whether two specified Char objects form a surrogate pair.
Public method Static Supported by the .NET Compact Framework IsSymbol Overloaded. Indicates whether a Unicode character is categorized as a symbol character.
Public method Static Supported by the .NET Compact Framework IsUpper Overloaded. Indicates whether a Unicode character is categorized as an uppercase letter.
Public method Static Supported by the .NET Compact Framework IsWhiteSpace Overloaded. Indicates whether a Unicode character is categorized as white space.
Public method Static Parse Converts the value of the specified string to its equivalent Unicode character.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Static Supported by the .NET Compact Framework ToLower Overloaded. Converts the value of a Unicode character to its lowercase equivalent.
Public method Static ToLowerInvariant Converts the value of a Unicode character to its lowercase equivalent using the casing rules of the invariant culture.
Public method Supported by the .NET Compact Framework ToString Overloaded. Overridden. Converts the value of this instance to its equivalent string representation.
Public method Static Supported by the .NET Compact Framework ToUpper Overloaded. Converts the value of a Unicode character to its uppercase equivalent.
Public method Static ToUpperInvariant Converts the value of a Unicode character to its uppercase equivalent using the casing rules of the invariant culture.
Public method Static 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 implementation Method Supported by the .NET Compact Framework System.IConvertible.ToBoolean Note   This conversion is not supported. Attempting to do so throws an InvalidCastException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToByte Converts the value of the current Char object to an 8-bit unsigned integer.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToChar Returns the current Char object.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToDateTime Note   This conversion is not supported. Attempting to do so throws an InvalidCastException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToDecimal Note   This conversion is not supported. Attempting to do so throws an InvalidCastException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToDouble Note   This conversion is not supported. Attempting to do so throws an InvalidCastException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToInt16 Converts value of the current Char object to a 16-bit signed integer.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToInt32 Converts value of the current Char object to a 32-bit signed integer.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToInt64 Converts value of the current Char object to a 64-bit signed integer.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToSByte Converts value of the current Char object to an 8-bit signed integer.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToSingle Note   This conversion is not supported. Attempting to do so throws an InvalidCastException.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToType Converts the value of the current Char object to an object of the specified type using the specified IFormatProvider object.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToUInt16 Converts value of the current Char object to a 16-bit unsigned integer.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToUInt32 Converts value of the current Char object to a 32-bit unsigned integer.
Explicit interface implementation Method Supported by the .NET Compact Framework System.IConvertible.ToUInt64 Converts value of the current Char object to a 64-bit unsigned integer.
Top

Community Additions

ADD
Show:
© 2014 Microsoft