Export (0) Print
Expand All

Char Members

Represents a character as a UTF-16 code unit.

The Char type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework CompareTo Overloaded. Compares this instance to a specified object or value type, and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified object or value type.
Public method Static member ConvertFromUtf32 Converts the specified Unicode code point into a UTF-16 encoded string.
Public method Static member 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 Supported by the XNA Framework Equals Overloaded. Returns a value that indicates whether this instance is equal to a specified object or Char value.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode Returns the hash code for this instance. (Overrides ValueType.GetHashCode().)
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework GetNumericValue Overloaded. Converts a specified numeric Unicode character to a double-precision floating-point number.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType Gets the type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetTypeCode Returns the TypeCode for value type Char.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework GetUnicodeCategory Overloaded. Categorizes a Unicode character into a group identified by one of the UnicodeCategory values.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework IsControl Overloaded. Indicates whether a specified Unicode character is categorized as a control character.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework IsDigit Overloaded. Indicates whether a Unicode character is categorized as a decimal digit.
Public method Static member IsHighSurrogate Overloaded. Indicates whether the specified Char object is a high surrogate.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework IsLetter Overloaded. Indicates whether a Unicode character is categorized as an alphabetic letter.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework IsLetterOrDigit Overloaded. Indicates whether a Unicode character is categorized as a letter or a decimal digit.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework IsLower Overloaded. Indicates whether a Unicode character is categorized as a lowercase letter.
Public method Static member IsLowSurrogate Overloaded. Indicates whether the specified Char object is a low surrogate.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework IsNumber Overloaded. Indicates whether a Unicode character is categorized as a number.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework IsPunctuation Overloaded. Indicates whether a Unicode character is categorized as a punctuation mark.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework IsSeparator Overloaded. Indicates whether a Unicode character is categorized as a separator character.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework IsSurrogate Overloaded. Indicates whether a character has a surrogate code unit.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework IsSurrogatePair Overloaded. Indicates whether two specified Char objects form a surrogate pair.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework IsSymbol Overloaded. Indicates whether a Unicode character is categorized as a symbol character.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework IsUpper Overloaded. Indicates whether a Unicode character is categorized as an uppercase letter.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework IsWhiteSpace Overloaded. Indicates whether a Unicode character is categorized as white space.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Static member Parse Converts the value of the specified string to its equivalent Unicode character.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToLower Overloaded. Converts the value of a Unicode character to its lowercase equivalent.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToLowerInvariant Converts the value of a Unicode character to its lowercase equivalent using the casing rules of the invariant culture.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToString Overloaded. Converts the value of this instance to its equivalent string representation.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework ToUpper Overloaded. Converts the value of a Unicode character to its uppercase equivalent.
Public method Static member ToUpperInvariant Converts the value of a Unicode character to its uppercase equivalent using the casing rules of the invariant culture.
Public method Static member TryParse Converts the value of the specified string to its equivalent Unicode character. A return code indicates whether the conversion succeeded or failed.
Top

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

  NameDescription
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IConvertible.ToBoolean Infrastructure. Note   This conversion is not supported. Attempting to do so throws an InvalidCastException.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IConvertible.ToByte Infrastructure. For a description of this member, see IConvertible.ToByte.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IConvertible.ToChar Infrastructure. For a description of this member, see IConvertible.ToChar.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IConvertible.ToDateTime Infrastructure. Note   This conversion is not supported. Attempting to do so throws an InvalidCastException.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IConvertible.ToDecimal Infrastructure. Note   This conversion is not supported. Attempting to do so throws an InvalidCastException.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IConvertible.ToDouble Infrastructure. Note   This conversion is not supported. Attempting to do so throws an InvalidCastException.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IConvertible.ToInt16 Infrastructure. For a description of this member, see IConvertible.ToInt16.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IConvertible.ToInt32 Infrastructure. For a description of this member, see IConvertible.ToInt32.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IConvertible.ToInt64 Infrastructure. For a description of this member, see IConvertible.ToInt64.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IConvertible.ToSByte Infrastructure. For a description of this member, see IConvertible.ToSByte.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IConvertible.ToSingle Infrastructure. Note   This conversion is not supported. Attempting to do so throws an InvalidCastException.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IConvertible.ToType Infrastructure. For a description of this member, see IConvertible.ToType.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IConvertible.ToUInt16 Infrastructure. For a description of this member, see IConvertible.ToUInt16.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IConvertible.ToUInt32 Infrastructure. For a description of this member, see IConvertible.ToUInt32.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IConvertible.ToUInt64 Infrastructure. For a description of this member, see IConvertible.ToUInt64.
Top

Community Additions

ADD
Show:
© 2014 Microsoft