Created
September 2, 2021 20:38
-
-
Save dsyme/cc9ec431222e7a12f6813f180bf06cc9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace System | |
open System | |
///<summary>Represents a character as a UTF-16 code unit.</summary> | |
type Char = | |
///<summary>Converts the specified Unicode code point into a UTF-16 encoded string.</summary> | |
///<param name="utf32">A 21-bit Unicode code point.</param> | |
///<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="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.</exception> | |
///<returns>A string consisting of one <see cref="T:System.Char" /> object or a surrogate pair of <see cref="T:System.Char" /> objects equivalent to the code point specified by the <paramref name="utf32" /> parameter.</returns> | |
static member ConvertFromUtf32: utf32: int -> string | |
///<summary>Converts the value of a UTF-16 encoded surrogate pair into a Unicode code point.</summary> | |
///<param name="highSurrogate">A high surrogate code unit (that is, a code unit ranging from U+D800 through U+DBFF).</param> | |
///<param name="lowSurrogate">A low surrogate code unit (that is, a code unit ranging from U+DC00 through U+DFFF).</param> | |
///<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="highSurrogate" /> is not in the range U+D800 through U+DBFF, or <paramref name="lowSurrogate" /> is not in the range U+DC00 through U+DFFF.</exception> | |
///<returns>The 21-bit Unicode code point represented by the <paramref name="highSurrogate" /> and <paramref name="lowSurrogate" /> parameters.</returns> | |
static member ConvertToUtf32: highSurrogate: char * lowSurrogate: char -> int | |
///<summary>Converts the value of a UTF-16 encoded character or surrogate pair at a specified position in a string into a Unicode code point.</summary> | |
///<param name="s">A string that contains a character or surrogate pair.</param> | |
///<param name="index">The index position of the character or surrogate pair in <paramref name="s" />.</param> | |
///<exception cref="T:System.ArgumentNullException"><paramref name="s" /> is <see langword="null" />.</exception> | |
///<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index" /> is not a position within <paramref name="s" />.</exception> | |
///<exception cref="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.</exception> | |
///<returns>The 21-bit Unicode code point represented by the character or surrogate pair at the position in the <paramref name="s" /> parameter specified by the <paramref name="index" /> parameter.</returns> | |
static member ConvertToUtf32: s: string * index: int -> int | |
///<summary>Converts the specified numeric Unicode character to a double-precision floating point number.</summary> | |
///<param name="c">The Unicode character to convert.</param> | |
///<returns>The numeric value of <paramref name="c" /> if that character represents a number; otherwise, -1.0.</returns> | |
static member GetNumericValue: c: char -> float | |
///<summary>Converts the numeric Unicode character at the specified position in a specified string to a double-precision floating point number.</summary> | |
///<param name="s">A <see cref="T:System.String" />.</param> | |
///<param name="index">The character position in <paramref name="s" />.</param> | |
///<exception cref="T:System.ArgumentNullException"><paramref name="s" /> is <see langword="null" />.</exception> | |
///<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index" /> is less than zero or greater than the last position in <paramref name="s" />.</exception> | |
///<returns>The numeric value of the character at position <paramref name="index" /> in <paramref name="s" /> if that character represents a number; otherwise, -1.</returns> | |
static member GetNumericValue: s: string * index: int -> float | |
///<summary>Categorizes a specified Unicode character into a group identified by one of the <see cref="T:System.Globalization.UnicodeCategory" /> values.</summary> | |
///<param name="c">The Unicode character to categorize.</param> | |
///<returns>A <see cref="T:System.Globalization.UnicodeCategory" /> value that identifies the group that contains <paramref name="c" />.</returns> | |
static member GetUnicodeCategory: c: char -> Globalization.UnicodeCategory | |
///<summary>Categorizes the character at the specified position in a specified string into a group identified by one of the <see cref="T:System.Globalization.UnicodeCategory" /> values.</summary> | |
///<param name="s">A <see cref="T:System.String" />.</param> | |
///<param name="index">The character position in <paramref name="s" />.</param> | |
///<exception cref="T:System.ArgumentNullException"><paramref name="s" /> is <see langword="null" />.</exception> | |
///<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index" /> is less than zero or greater than the last position in <paramref name="s" />.</exception> | |
///<returns>A <see cref="T:System.Globalization.UnicodeCategory" /> enumerated constant that identifies the group that contains the character at position <paramref name="index" /> in <paramref name="s" />.</returns> | |
static member GetUnicodeCategory: s: string * index: int -> Globalization.UnicodeCategory | |
static member IsAscii: c: char -> bool | |
///<summary>Indicates whether the specified Unicode character is categorized as a control character.</summary> | |
///<param name="c">The Unicode character to evaluate.</param> | |
///<returns><see langword="true" /> if <paramref name="c" /> is a control character; otherwise, <see langword="false" />.</returns> | |
static member IsControl: c: char -> bool | |
///<summary>Indicates whether the character at the specified position in a specified string is categorized as a control character.</summary> | |
///<param name="s">A string.</param> | |
///<param name="index">The position of the character to evaluate in <paramref name="s" />.</param> | |
///<exception cref="T:System.ArgumentNullException"><paramref name="s" /> is <see langword="null" />.</exception> | |
///<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index" /> is less than zero or greater than the last position in <paramref name="s" />.</exception> | |
///<returns><see langword="true" /> if the character at position <paramref name="index" /> in <paramref name="s" /> is a control character; otherwise, <see langword="false" />.</returns> | |
static member IsControl: s: string * index: int -> bool | |
///<summary>Indicates whether the specified Unicode character is categorized as a decimal digit.</summary> | |
///<param name="c">The Unicode character to evaluate.</param> | |
///<returns><see langword="true" /> if <paramref name="c" /> is a decimal digit; otherwise, <see langword="false" />.</returns> | |
static member IsDigit: c: char -> bool | |
///<summary>Indicates whether the character at the specified position in a specified string is categorized as a decimal digit.</summary> | |
///<param name="s">A string.</param> | |
///<param name="index">The position of the character to evaluate in <paramref name="s" />.</param> | |
///<exception cref="T:System.ArgumentNullException"><paramref name="s" /> is <see langword="null" />.</exception> | |
///<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index" /> is less than zero or greater than the last position in <paramref name="s" />.</exception> | |
///<returns><see langword="true" /> if the character at position <paramref name="index" /> in <paramref name="s" /> is a decimal digit; otherwise, <see langword="false" />.</returns> | |
static member IsDigit: s: string * index: int -> bool | |
///<summary>Indicates whether the specified <see cref="T:System.Char" /> object is a high surrogate.</summary> | |
///<param name="c">The Unicode character to evaluate.</param> | |
///<returns><see langword="true" /> if the numeric value of the <paramref name="c" /> parameter ranges from U+D800 through U+DBFF; otherwise, <see langword="false" />.</returns> | |
static member IsHighSurrogate: c: char -> bool | |
///<summary>Indicates whether the <see cref="T:System.Char" /> object at the specified position in a string is a high surrogate.</summary> | |
///<param name="s">A string.</param> | |
///<param name="index">The position of the character to evaluate in <paramref name="s" />.</param> | |
///<exception cref="T:System.ArgumentNullException"><paramref name="s" /> is <see langword="null" />.</exception> | |
///<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index" /> is not a position within <paramref name="s" />.</exception> | |
///<returns><see langword="true" /> if the numeric value of the specified character in the <paramref name="s" /> parameter ranges from U+D800 through U+DBFF; otherwise, <see langword="false" />.</returns> | |
static member IsHighSurrogate: s: string * index: int -> bool | |
///<summary>Indicates whether the specified Unicode character is categorized as a Unicode letter.</summary> | |
///<param name="c">The Unicode character to evaluate.</param> | |
///<returns><see langword="true" /> if <paramref name="c" /> is a letter; otherwise, <see langword="false" />.</returns> | |
static member IsLetter: c: char -> bool | |
///<summary>Indicates whether the character at the specified position in a specified string is categorized as a Unicode letter.</summary> | |
///<param name="s">A string.</param> | |
///<param name="index">The position of the character to evaluate in <paramref name="s" />.</param> | |
///<exception cref="T:System.ArgumentNullException"><paramref name="s" /> is <see langword="null" />.</exception> | |
///<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index" /> is less than zero or greater than the last position in <paramref name="s" />.</exception> | |
///<returns><see langword="true" /> if the character at position <paramref name="index" /> in <paramref name="s" /> is a letter; otherwise, <see langword="false" />.</returns> | |
static member IsLetter: s: string * index: int -> bool | |
///<summary>Indicates whether the specified Unicode character is categorized as a letter or a decimal digit.</summary> | |
///<param name="c">The Unicode character to evaluate.</param> | |
///<returns><see langword="true" /> if <paramref name="c" /> is a letter or a decimal digit; otherwise, <see langword="false" />.</returns> | |
static member IsLetterOrDigit: c: char -> bool | |
///<summary>Indicates whether the character at the specified position in a specified string is categorized as a letter or a decimal digit.</summary> | |
///<param name="s">A string.</param> | |
///<param name="index">The position of the character to evaluate in <paramref name="s" />.</param> | |
///<exception cref="T:System.ArgumentNullException"><paramref name="s" /> is <see langword="null" />.</exception> | |
///<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index" /> is less than zero or greater than the last position in <paramref name="s" />.</exception> | |
///<returns><see langword="true" /> if the character at position <paramref name="index" /> in <paramref name="s" /> is a letter or a decimal digit; otherwise, <see langword="false" />.</returns> | |
static member IsLetterOrDigit: s: string * index: int -> bool | |
///<summary>Indicates whether the specified <see cref="T:System.Char" /> object is a low surrogate.</summary> | |
///<param name="c">The character to evaluate.</param> | |
///<returns><see langword="true" /> if the numeric value of the <paramref name="c" /> parameter ranges from U+DC00 through U+DFFF; otherwise, <see langword="false" />.</returns> | |
static member IsLowSurrogate: c: char -> bool | |
///<summary>Indicates whether the <see cref="T:System.Char" /> object at the specified position in a string is a low surrogate.</summary> | |
///<param name="s">A string.</param> | |
///<param name="index">The position of the character to evaluate in <paramref name="s" />.</param> | |
///<exception cref="T:System.ArgumentNullException"><paramref name="s" /> is <see langword="null" />.</exception> | |
///<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index" /> is not a position within <paramref name="s" />.</exception> | |
///<returns><see langword="true" /> if the numeric value of the specified character in the <paramref name="s" /> parameter ranges from U+DC00 through U+DFFF; otherwise, <see langword="false" />.</returns> | |
static member IsLowSurrogate: s: string * index: int -> bool | |
///<summary>Indicates whether the specified Unicode character is categorized as a lowercase letter.</summary> | |
///<param name="c">The Unicode character to evaluate.</param> | |
///<returns><see langword="true" /> if <paramref name="c" /> is a lowercase letter; otherwise, <see langword="false" />.</returns> | |
static member IsLower: c: char -> bool | |
///<summary>Indicates whether the character at the specified position in a specified string is categorized as a lowercase letter.</summary> | |
///<param name="s">A string.</param> | |
///<param name="index">The position of the character to evaluate in <paramref name="s" />.</param> | |
///<exception cref="T:System.ArgumentNullException"><paramref name="s" /> is <see langword="null" />.</exception> | |
///<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index" /> is less than zero or greater than the last position in <paramref name="s" />.</exception> | |
///<returns><see langword="true" /> if the character at position <paramref name="index" /> in <paramref name="s" /> is a lowercase letter; otherwise, <see langword="false" />.</returns> | |
static member IsLower: s: string * index: int -> bool | |
///<summary>Indicates whether the specified Unicode character is categorized as a number.</summary> | |
///<param name="c">The Unicode character to evaluate.</param> | |
///<returns><see langword="true" /> if <paramref name="c" /> is a number; otherwise, <see langword="false" />.</returns> | |
static member IsNumber: c: char -> bool | |
///<summary>Indicates whether the character at the specified position in a specified string is categorized as a number.</summary> | |
///<param name="s">A string.</param> | |
///<param name="index">The position of the character to evaluate in <paramref name="s" />.</param> | |
///<exception cref="T:System.ArgumentNullException"><paramref name="s" /> is <see langword="null" />.</exception> | |
///<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index" /> is less than zero or greater than the last position in <paramref name="s" />.</exception> | |
///<returns><see langword="true" /> if the character at position <paramref name="index" /> in <paramref name="s" /> is a number; otherwise, <see langword="false" />.</returns> | |
static member IsNumber: s: string * index: int -> bool | |
///<summary>Indicates whether the specified Unicode character is categorized as a punctuation mark.</summary> | |
///<param name="c">The Unicode character to evaluate.</param> | |
///<returns><see langword="true" /> if <paramref name="c" /> is a punctuation mark; otherwise, <see langword="false" />.</returns> | |
static member IsPunctuation: c: char -> bool | |
///<summary>Indicates whether the character at the specified position in a specified string is categorized as a punctuation mark.</summary> | |
///<param name="s">A string.</param> | |
///<param name="index">The position of the character to evaluate in <paramref name="s" />.</param> | |
///<exception cref="T:System.ArgumentNullException"><paramref name="s" /> is <see langword="null" />.</exception> | |
///<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index" /> is less than zero or greater than the last position in <paramref name="s" />.</exception> | |
///<returns><see langword="true" /> if the character at position <paramref name="index" /> in <paramref name="s" /> is a punctuation mark; otherwise, <see langword="false" />.</returns> | |
static member IsPunctuation: s: string * index: int -> bool | |
///<summary>Indicates whether the specified Unicode character is categorized as a separator character.</summary> | |
///<param name="c">The Unicode character to evaluate.</param> | |
///<returns><see langword="true" /> if <paramref name="c" /> is a separator character; otherwise, <see langword="false" />.</returns> | |
static member IsSeparator: c: char -> bool | |
///<summary>Indicates whether the character at the specified position in a specified string is categorized as a separator character.</summary> | |
///<param name="s">A string.</param> | |
///<param name="index">The position of the character to evaluate in <paramref name="s" />.</param> | |
///<exception cref="T:System.ArgumentNullException"><paramref name="s" /> is <see langword="null" />.</exception> | |
///<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index" /> is less than zero or greater than the last position in <paramref name="s" />.</exception> | |
///<returns><see langword="true" /> if the character at position <paramref name="index" /> in <paramref name="s" /> is a separator character; otherwise, <see langword="false" />.</returns> | |
static member IsSeparator: s: string * index: int -> bool | |
///<summary>Indicates whether the specified character has a surrogate code unit.</summary> | |
///<param name="c">The Unicode character to evaluate.</param> | |
///<returns><see langword="true" /> if <paramref name="c" /> is either a high surrogate or a low surrogate; otherwise, <see langword="false" />.</returns> | |
static member IsSurrogate: c: char -> bool | |
///<summary>Indicates whether the character at the specified position in a specified string has a surrogate code unit.</summary> | |
///<param name="s">A string.</param> | |
///<param name="index">The position of the character to evaluate in <paramref name="s" />.</param> | |
///<exception cref="T:System.ArgumentNullException"><paramref name="s" /> is <see langword="null" />.</exception> | |
///<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index" /> is less than zero or greater than the last position in <paramref name="s" />.</exception> | |
///<returns><see langword="true" /> if the character at position <paramref name="index" /> in <paramref name="s" /> is a either a high surrogate or a low surrogate; otherwise, <see langword="false" />.</returns> | |
static member IsSurrogate: s: string * index: int -> bool | |
///<summary>Indicates whether the two specified <see cref="T:System.Char" /> objects form a surrogate pair.</summary> | |
///<param name="highSurrogate">The character to evaluate as the high surrogate of a surrogate pair.</param> | |
///<param name="lowSurrogate">The character to evaluate as the low surrogate of a surrogate pair.</param> | |
///<returns><see langword="true" /> if the numeric value of the <paramref name="highSurrogate" /> parameter ranges from U+D800 through U+DBFF, and the numeric value of the <paramref name="lowSurrogate" /> parameter ranges from U+DC00 through U+DFFF; otherwise, <see langword="false" />.</returns> | |
static member IsSurrogatePair: highSurrogate: char * lowSurrogate: char -> bool | |
///<summary>Indicates whether two adjacent <see cref="T:System.Char" /> objects at a specified position in a string form a surrogate pair.</summary> | |
///<param name="s">A string.</param> | |
///<param name="index">The starting position of the pair of characters to evaluate within <paramref name="s" />.</param> | |
///<exception cref="T:System.ArgumentNullException"><paramref name="s" /> is <see langword="null" />.</exception> | |
///<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index" /> is not a position within <paramref name="s" />.</exception> | |
///<returns><see langword="true" /> if the <paramref name="s" /> parameter includes adjacent characters at positions <paramref name="index" /> and <paramref name="index" /> + 1, and the numeric value of the character at position <paramref name="index" /> ranges from U+D800 through U+DBFF, and the numeric value of the character at position <paramref name="index" />+1 ranges from U+DC00 through U+DFFF; otherwise, <see langword="false" />.</returns> | |
static member IsSurrogatePair: s: string * index: int -> bool | |
///<summary>Indicates whether the specified Unicode character is categorized as a symbol character.</summary> | |
///<param name="c">The Unicode character to evaluate.</param> | |
///<returns><see langword="true" /> if <paramref name="c" /> is a symbol character; otherwise, <see langword="false" />.</returns> | |
static member IsSymbol: c: char -> bool | |
///<summary>Indicates whether the character at the specified position in a specified string is categorized as a symbol character.</summary> | |
///<param name="s">A string.</param> | |
///<param name="index">The position of the character to evaluate in <paramref name="s" />.</param> | |
///<exception cref="T:System.ArgumentNullException"><paramref name="s" /> is <see langword="null" />.</exception> | |
///<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index" /> is less than zero or greater than the last position in <paramref name="s" />.</exception> | |
///<returns><see langword="true" /> if the character at position <paramref name="index" /> in <paramref name="s" /> is a symbol character; otherwise, <see langword="false" />.</returns> | |
static member IsSymbol: s: string * index: int -> bool | |
///<summary>Indicates whether the specified Unicode character is categorized as an uppercase letter.</summary> | |
///<param name="c">The Unicode character to evaluate.</param> | |
///<returns><see langword="true" /> if <paramref name="c" /> is an uppercase letter; otherwise, <see langword="false" />.</returns> | |
static member IsUpper: c: char -> bool | |
///<summary>Indicates whether the character at the specified position in a specified string is categorized as an uppercase letter.</summary> | |
///<param name="s">A string.</param> | |
///<param name="index">The position of the character to evaluate in <paramref name="s" />.</param> | |
///<exception cref="T:System.ArgumentNullException"><paramref name="s" /> is <see langword="null" />.</exception> | |
///<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index" /> is less than zero or greater than the last position in <paramref name="s" />.</exception> | |
///<returns><see langword="true" /> if the character at position <paramref name="index" /> in <paramref name="s" /> is an uppercase letter; otherwise, <see langword="false" />.</returns> | |
static member IsUpper: s: string * index: int -> bool | |
///<summary>Indicates whether the specified Unicode character is categorized as white space.</summary> | |
///<param name="c">The Unicode character to evaluate.</param> | |
///<returns><see langword="true" /> if <paramref name="c" /> is white space; otherwise, <see langword="false" />.</returns> | |
static member IsWhiteSpace: c: char -> bool | |
///<summary>Indicates whether the character at the specified position in a specified string is categorized as white space.</summary> | |
///<param name="s">A string.</param> | |
///<param name="index">The position of the character to evaluate in <paramref name="s" />.</param> | |
///<exception cref="T:System.ArgumentNullException"><paramref name="s" /> is <see langword="null" />.</exception> | |
///<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index" /> is less than zero or greater than the last position in <paramref name="s" />.</exception> | |
///<returns><see langword="true" /> if the character at position <paramref name="index" /> in <paramref name="s" /> is white space; otherwise, <see langword="false" />.</returns> | |
static member IsWhiteSpace: s: string * index: int -> bool | |
///<summary>Converts the value of the specified string to its equivalent Unicode character.</summary> | |
///<param name="s">A string that contains a single character, or <see langword="null" />.</param> | |
///<exception cref="T:System.ArgumentNullException"><paramref name="s" /> is <see langword="null" />.</exception> | |
///<exception cref="T:System.FormatException">The length of <paramref name="s" /> is not 1.</exception> | |
///<returns>A Unicode character equivalent to the sole character in <paramref name="s" />.</returns> | |
static member Parse: s: string -> char | |
///<summary>Converts the value of a Unicode character to its lowercase equivalent.</summary> | |
///<param name="c">The Unicode character to convert.</param> | |
///<returns>The lowercase equivalent of <paramref name="c" />, or the unchanged value of <paramref name="c" />, if <paramref name="c" /> is already lowercase or not alphabetic.</returns> | |
static member ToLower: c: char -> char | |
///<summary>Converts the value of a specified Unicode character to its lowercase equivalent using specified culture-specific formatting information.</summary> | |
///<param name="c">The Unicode character to convert.</param> | |
///<param name="culture">An object that supplies culture-specific casing rules.</param> | |
///<exception cref="T:System.ArgumentNullException"><paramref name="culture" /> is <see langword="null" />.</exception> | |
///<returns>The lowercase equivalent of <paramref name="c" />, modified according to <paramref name="culture" />, or the unchanged value of <paramref name="c" />, if <paramref name="c" /> is already lowercase or not alphabetic.</returns> | |
static member ToLower: c: char * culture: Globalization.CultureInfo -> char | |
///<summary>Converts the value of a Unicode character to its lowercase equivalent using the casing rules of the invariant culture.</summary> | |
///<param name="c">The Unicode character to convert.</param> | |
///<returns>The lowercase equivalent of the <paramref name="c" /> parameter, or the unchanged value of <paramref name="c" />, if <paramref name="c" /> is already lowercase or not alphabetic.</returns> | |
static member ToLowerInvariant: c: char -> char | |
///<summary>Converts the specified Unicode character to its equivalent string representation.</summary> | |
///<param name="c">The Unicode character to convert.</param> | |
///<returns>The string representation of the value of <paramref name="c" />.</returns> | |
static member ToString: c: char -> string | |
///<summary>Converts the value of a Unicode character to its uppercase equivalent.</summary> | |
///<param name="c">The Unicode character to convert.</param> | |
///<returns>The uppercase equivalent of <paramref name="c" />, or the unchanged value of <paramref name="c" /> if <paramref name="c" /> is already uppercase, has no uppercase equivalent, or is not alphabetic.</returns> | |
static member ToUpper: c: char -> char | |
///<summary>Converts the value of a specified Unicode character to its uppercase equivalent using specified culture-specific formatting information.</summary> | |
///<param name="c">The Unicode character to convert.</param> | |
///<param name="culture">An object that supplies culture-specific casing rules.</param> | |
///<exception cref="T:System.ArgumentNullException"><paramref name="culture" /> is <see langword="null" />.</exception> | |
///<returns>The uppercase equivalent of <paramref name="c" />, modified according to <paramref name="culture" />, or the unchanged value of <paramref name="c" /> if <paramref name="c" /> is already uppercase, has no uppercase equivalent, or is not alphabetic.</returns> | |
static member ToUpper: c: char * culture: Globalization.CultureInfo -> char | |
///<summary>Converts the value of a Unicode character to its uppercase equivalent using the casing rules of the invariant culture.</summary> | |
///<param name="c">The Unicode character to convert.</param> | |
///<returns>The uppercase equivalent of the <paramref name="c" /> parameter, or the unchanged value of <paramref name="c" />, if <paramref name="c" /> is already uppercase or not alphabetic.</returns> | |
static member ToUpperInvariant: c: char -> char | |
static member TryParse: s: string * result: byref<char> -> bool | |
///<summary>Compares this instance to a specified <see cref="T:System.Char" /> object and indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified <see cref="T:System.Char" /> object.</summary> | |
///<param name="value">A <see cref="T:System.Char" /> object to compare.</param> | |
///<returns>A signed number indicating the position of this instance in the sort order in relation to the <paramref name="value" /> parameter. | |
/// | |
/// <list type="table"><listheader><term> Return Value</term><description> Description</description></listheader><item><term> Less than zero</term><description> This instance precedes <paramref name="value" />.</description></item><item><term> Zero</term><description> This instance has the same position in the sort order as <paramref name="value" />.</description></item><item><term> Greater than zero</term><description> This instance follows <paramref name="value" />.</description></item></list></returns> | |
member CompareTo: value: char -> int | |
///<summary>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 <see cref="T:System.Object" />.</summary> | |
///<param name="value">An object to compare this instance to, or <see langword="null" />.</param> | |
///<exception cref="T:System.ArgumentException"><paramref name="value" /> is not a <see cref="T:System.Char" /> object.</exception> | |
///<returns>A signed number indicating the position of this instance in the sort order in relation to the <paramref name="value" /> parameter. | |
/// | |
/// <list type="table"><listheader><term> Return Value</term><description> Description</description></listheader><item><term> Less than zero</term><description> This instance precedes <paramref name="value" />.</description></item><item><term> Zero</term><description> This instance has the same position in the sort order as <paramref name="value" />.</description></item><item><term> Greater than zero</term><description> This instance follows <paramref name="value" />. | |
/// | |
/// -or- | |
/// | |
/// <paramref name="value" /> is <see langword="null" />.</description></item></list></returns> | |
member CompareTo: value: obj -> int | |
///<summary>Returns a value that indicates whether this instance is equal to the specified <see cref="T:System.Char" /> object.</summary> | |
///<param name="obj">An object to compare to this instance.</param> | |
///<returns><see langword="true" /> if the <paramref name="obj" /> parameter equals the value of this instance; otherwise, <see langword="false" />.</returns> | |
member Equals: obj: char -> bool | |
///<summary>Returns a value that indicates whether this instance is equal to a specified object.</summary> | |
///<param name="obj">An object to compare with this instance or <see langword="null" />.</param> | |
///<returns><see langword="true" /> if <paramref name="obj" /> is an instance of <see cref="T:System.Char" /> and equals the value of this instance; otherwise, <see langword="false" />.</returns> | |
member Equals: obj: obj -> bool | |
///<summary>Returns the hash code for this instance.</summary> | |
///<returns>A 32-bit signed integer hash code.</returns> | |
member GetHashCode: unit -> int | |
///<summary>Returns the <see cref="T:System.TypeCode" /> for value type <see cref="T:System.Char" />.</summary> | |
///<returns>The enumerated constant, <see cref="F:System.TypeCode.Char" />.</returns> | |
member GetTypeCode: unit -> TypeCode | |
///<summary>Converts the value of this instance to its equivalent string representation.</summary> | |
///<returns>The string representation of the value of this instance.</returns> | |
member ToString: unit -> string | |
///<summary>Converts the value of this instance to its equivalent string representation using the specified culture-specific format information.</summary> | |
///<param name="provider">(Reserved) An object that supplies culture-specific formatting information.</param> | |
///<returns>The string representation of the value of this instance as specified by <paramref name="provider" />.</returns> | |
member ToString: provider: IFormatProvider -> string | |
static val MaxValue: char | |
static val MinValue: char |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment