mscorlib(4.0.0.0) API with additions
|
Classes | |
class | Calendar |
Represents time in divisions, such as weeks, months, and years. More... | |
class | CharUnicodeInfo |
Retrieves information about a Unicode character. This class cannot be inherited. More... | |
class | ChineseLunisolarCalendar |
Represents time in divisions, such as months, days, and years. Years are calculated using the Chinese calendar, while days and months are calculated using the lunisolar calendar. More... | |
class | CompareInfo |
Implements a set of methods for culture-sensitive string comparisons. More... | |
class | CultureInfo |
Provides information about a specific culture (called a locale for unmanaged code development). The information includes the names for the culture, the writing system, the calendar used, the sort order of strings, and formatting for dates and numbers. More... | |
class | CultureNotFoundException |
The exception that is thrown when a method attempts to construct a culture that is not available. More... | |
class | DateTimeFormatInfo |
Provides culture-specific information about the format of date and time values. More... | |
class | DaylightTime |
Defines the period of daylight saving time. More... | |
class | EastAsianLunisolarCalendar |
Represents a calendar that divides time into months, days, years, and eras, and has dates that are based on cycles of the sun and the moon. More... | |
class | GlobalizationExtensions |
Provides globalization-related extension methods. More... | |
class | GregorianCalendar |
Represents the Gregorian calendar. More... | |
class | HebrewCalendar |
Represents the Hebrew calendar. More... | |
class | HijriCalendar |
Represents the Hijri calendar. More... | |
class | IdnMapping |
Supports the use of non-ASCII characters for Internet domain names. This class cannot be inherited. More... | |
class | JapaneseCalendar |
Represents the Japanese calendar. More... | |
class | JapaneseLunisolarCalendar |
Represents time in divisions, such as months, days, and years. Years are calculated as for the Japanese calendar, while days and months are calculated using the lunisolar calendar. More... | |
class | JulianCalendar |
Represents the Julian calendar. More... | |
class | KoreanCalendar |
Represents the Korean calendar. More... | |
class | KoreanLunisolarCalendar |
Represents time in divisions, such as months, days, and years. Years are calculated using the Gregorian calendar, while days and months are calculated using the lunisolar calendar. More... | |
class | NumberFormatInfo |
Provides culture-specific information for formatting and parsing numeric values. More... | |
class | PersianCalendar |
Represents the Persian calendar. More... | |
class | RegionInfo |
Contains information about the country/region. More... | |
class | SortKey |
Represents the result of mapping a string to its sort key. More... | |
class | SortVersion |
Provides information about the version of Unicode used to compare and order strings. More... | |
class | StringInfo |
Provides functionality to split a string into text elements and to iterate through those text elements. More... | |
class | TaiwanCalendar |
the Taiwan calendar. More... | |
class | TaiwanLunisolarCalendar |
Represents the Taiwan lunisolar calendar. As for the Taiwan calendar, years are calculated using the Gregorian calendar, while days and months are calculated using the lunisolar calendar. More... | |
class | TextElementEnumerator |
Enumerates the text elements of a string. More... | |
class | TextInfo |
Defines text properties and behaviors, such as casing, that are specific to a writing system. More... | |
class | ThaiBuddhistCalendar |
Represents the Thai Buddhist calendar. More... | |
class | UmAlQuraCalendar |
Represents the Saudi Hijri (Um Al Qura) calendar. More... | |
Enumerations | |
enum | BidiCategory { LeftToRight, LeftToRightEmbedding, LeftToRightOverride, RightToLeft, RightToLeftArabic, RightToLeftEmbedding, RightToLeftOverride, PopDirectionalFormat, EuropeanNumber, EuropeanNumberSeparator, EuropeanNumberTerminator, ArabicNumber, CommonNumberSeparator, NonSpacingMark, BoundaryNeutral, ParagraphSeparator, SegmentSeparator, Whitespace, OtherNeutrals, LeftToRightIsolate, RightToLeftIsolate, FirstStrongIsolate, PopDirectionIsolate } |
enum | CalendarAlgorithmType { CalendarAlgorithmType.Unknown, CalendarAlgorithmType.SolarCalendar, CalendarAlgorithmType.LunarCalendar, CalendarAlgorithmType.LunisolarCalendar } |
Specifies whether a calendar is solar-based, lunar-based, or lunisolar-based. More... | |
enum | CalendarId : ushort { GREGORIAN = 1, GREGORIAN_US = 2, JAPAN = 3, TAIWAN = 4, KOREA = 5, HIJRI = 6, THAI = 7, HEBREW = 8, GREGORIAN_ME_FRENCH = 9, GREGORIAN_ARABIC = 10, GREGORIAN_XLIT_ENGLISH = 11, GREGORIAN_XLIT_FRENCH = 12, JULIAN = 13, JAPANESELUNISOLAR = 14, CHINESELUNISOLAR = 0xF, SAKA = 0x10, LUNAR_ETO_CHN = 17, LUNAR_ETO_KOR = 18, LUNAR_ETO_ROKUYOU = 19, KOREANLUNISOLAR = 20, TAIWANLUNISOLAR = 21, PERSIAN = 22, UMALQURA = 23, LAST_CALENDAR = 23 } |
enum | CalendarWeekRule { CalendarWeekRule.FirstDay, CalendarWeekRule.FirstFullWeek, CalendarWeekRule.FirstFourDayWeek } |
Defines different rules for determining the first week of the year. More... | |
enum | CompareOptions { CompareOptions.None = 0x0, CompareOptions.IgnoreCase = 0x1, CompareOptions.IgnoreNonSpace = 0x2, CompareOptions.IgnoreSymbols = 0x4, CompareOptions.IgnoreKanaType = 0x8, CompareOptions.IgnoreWidth = 0x10, CompareOptions.OrdinalIgnoreCase = 0x10000000, CompareOptions.StringSort = 0x20000000, CompareOptions.Ordinal = 0x40000000 } |
Defines the string comparison options to use with T:System.Globalization.CompareInfo. More... | |
enum | CultureTypes { CultureTypes.NeutralCultures = 0x1, CultureTypes.SpecificCultures = 0x2, CultureTypes.InstalledWin32Cultures = 0x4, CultureTypes.AllCultures = 0x7, CultureTypes.UserCustomCulture = 0x8, CultureTypes.ReplacementCultures = 0x10, CultureTypes.WindowsOnlyCultures = 0x20, CultureTypes.FrameworkCultures = 0x40 } |
Defines the types of culture lists that can be retrieved using the M:System.Globalization.CultureInfo.GetCultures(System.Globalization.CultureTypes) method. More... | |
enum | DateTimeFormatFlags { None = 0x0, UseGenitiveMonth = 0x1, UseLeapYearMonth = 0x2, UseSpacesInMonthNames = 0x4, UseHebrewRule = 0x8, UseSpacesInDayNames = 0x10, UseDigitPrefixInTokens = 0x20, NotInitialized = -1 } |
enum | DateTimeStyles { DateTimeStyles.None = 0x0, DateTimeStyles.AllowLeadingWhite = 0x1, DateTimeStyles.AllowTrailingWhite = 0x2, DateTimeStyles.AllowInnerWhite = 0x4, DateTimeStyles.AllowWhiteSpaces = 0x7, DateTimeStyles.NoCurrentDateDefault = 0x8, DateTimeStyles.AdjustToUniversal = 0x10, DateTimeStyles.AssumeLocal = 0x20, DateTimeStyles.AssumeUniversal = 0x40, DateTimeStyles.RoundtripKind = 0x80 } |
Defines the formatting options that customize string parsing for some date and time parsing methods. More... | |
enum | DigitShapes { DigitShapes.Context, DigitShapes.None, DigitShapes.NativeNational } |
Specifies the culture-specific display of digits. More... | |
enum | FORMATFLAGS { None = 0, UseGenitiveMonth = 1, UseLeapYearMonth = 2, UseSpacesInMonthNames = 4, UseHebrewParsing = 8, UseSpacesInDayNames = 0x10, UseDigitPrefixInTokens = 0x20 } |
enum | GregorianCalendarTypes { GregorianCalendarTypes.Localized = 1, GregorianCalendarTypes.USEnglish = 2, GregorianCalendarTypes.MiddleEastFrench = 9, GregorianCalendarTypes.Arabic = 10, GregorianCalendarTypes.TransliteratedEnglish = 11, GregorianCalendarTypes.TransliteratedFrench = 12 } |
Defines the different language versions of the Gregorian calendar. More... | |
enum | HebrewNumberParsingState { InvalidHebrewNumber, NotHebrewDigit, FoundEndOfHebrewNumber, ContinueParsing } |
enum | MonthNameStyles { Regular = 0x0, Genitive = 0x1, LeapYear = 0x2 } |
enum | NumberStyles { NumberStyles.None = 0x0, NumberStyles.AllowLeadingWhite = 0x1, NumberStyles.AllowTrailingWhite = 0x2, NumberStyles.AllowLeadingSign = 0x4, NumberStyles.AllowTrailingSign = 0x8, NumberStyles.AllowParentheses = 0x10, NumberStyles.AllowDecimalPoint = 0x20, NumberStyles.AllowThousands = 0x40, NumberStyles.AllowExponent = 0x80, NumberStyles.AllowCurrencySymbol = 0x100, NumberStyles.AllowHexSpecifier = 0x200, NumberStyles.Integer = 0x7, NumberStyles.HexNumber = 0x203, NumberStyles.Number = 0x6F, NumberStyles.Float = 0xA7, NumberStyles.Currency = 0x17F, NumberStyles.Any = 0x1FF } |
Determines the styles permitted in numeric string arguments that are passed to the Parse and TryParse methods of the integral and floating-point numeric types. More... | |
enum | TimeSpanStyles { TimeSpanStyles.None = 0x0, TimeSpanStyles.AssumeNegative = 0x1 } |
Defines the formatting options that customize string parsing for the Overload:System.TimeSpan.ParseExact and Overload:System.TimeSpan.TryParseExact methods. More... | |
enum | UnicodeCategory { UnicodeCategory.UppercaseLetter, UnicodeCategory.LowercaseLetter, UnicodeCategory.TitlecaseLetter, UnicodeCategory.ModifierLetter, UnicodeCategory.OtherLetter, UnicodeCategory.NonSpacingMark, UnicodeCategory.SpacingCombiningMark, UnicodeCategory.EnclosingMark, UnicodeCategory.DecimalDigitNumber, UnicodeCategory.LetterNumber, UnicodeCategory.OtherNumber, UnicodeCategory.SpaceSeparator, UnicodeCategory.LineSeparator, UnicodeCategory.ParagraphSeparator, UnicodeCategory.Control, UnicodeCategory.Format, UnicodeCategory.Surrogate, UnicodeCategory.PrivateUse, UnicodeCategory.ConnectorPunctuation, UnicodeCategory.DashPunctuation, UnicodeCategory.OpenPunctuation, UnicodeCategory.ClosePunctuation, UnicodeCategory.InitialQuotePunctuation, UnicodeCategory.FinalQuotePunctuation, UnicodeCategory.OtherPunctuation, UnicodeCategory.MathSymbol, UnicodeCategory.CurrencySymbol, UnicodeCategory.ModifierSymbol, UnicodeCategory.OtherSymbol, UnicodeCategory.OtherNotAssigned } |
Defines the Unicode category of a character. More... | |
|
strong |
Specifies whether a calendar is solar-based, lunar-based, or lunisolar-based.
Enumerator | |
---|---|
Unknown | An unknown calendar basis. |
SolarCalendar | A solar-based calendar. |
LunarCalendar | A lunar-based calendar. |
LunisolarCalendar | A lunisolar-based calendar. |
Definition at line 7 of file CalendarAlgorithmType.cs.
|
strong |
Defines different rules for determining the first week of the year.
Definition at line 9 of file CalendarWeekRule.cs.
|
strong |
Defines the string comparison options to use with T:System.Globalization.CompareInfo.
Enumerator | |
---|---|
None | Indicates the default option settings for string comparisons. |
IgnoreCase | Indicates that the string comparison must ignore case. |
IgnoreNonSpace | Indicates that the string comparison must ignore nonspacing combining characters, such as diacritics. The Unicode Standard defines combining characters as characters that are combined with base characters to produce a new character. Nonspacing combining characters do not occupy a spacing position by themselves when rendered. |
IgnoreSymbols | Indicates that the string comparison must ignore symbols, such as white-space characters, punctuation, currency symbols, the percent sign, mathematical symbols, the ampersand, and so on. |
IgnoreKanaType | Indicates that the string comparison must ignore the Kana type. Kana type refers to Japanese hiragana and katakana characters, which represent phonetic sounds in the Japanese language. Hiragana is used for native Japanese expressions and words, while katakana is used for words borrowed from other languages, such as "computer" or "Internet". A phonetic sound can be expressed in both hiragana and katakana. If this value is selected, the hiragana character for one sound is considered equal to the katakana character for the same sound. |
IgnoreWidth | Indicates that the string comparison must ignore the character width. For example, Japanese katakana characters can be written as full-width or half-width. If this value is selected, the katakana characters written as full-width are considered equal to the same characters written as half-width. |
OrdinalIgnoreCase | String comparison must ignore case, then perform an ordinal comparison. This technique is equivalent to converting the string to uppercase using the invariant culture and then performing an ordinal comparison on the result. |
StringSort | Indicates that the string comparison must use the string sort algorithm. In a string sort, the hyphen and the apostrophe, as well as other nonalphanumeric symbols, come before alphanumeric characters. |
Ordinal | Indicates that the string comparison must use successive Unicode UTF-16 encoded values of the string (code unit by code unit comparison), leading to a fast comparison but one that is culture-insensitive. A string starting with a code unit XXXX16 comes before a string starting with YYYY16, if XXXX16 is less than YYYY16. This value cannot be combined with other T:System.Globalization.CompareOptions values and must be used alone. |
Definition at line 10 of file CompareOptions.cs.
|
strong |
Defines the types of culture lists that can be retrieved using the M:System.Globalization.CultureInfo.GetCultures(System.Globalization.CultureTypes) method.
Definition at line 9 of file CultureTypes.cs.
|
strong |
Defines the formatting options that customize string parsing for some date and time parsing methods.
Enumerator | |
---|---|
None | Default formatting options must be used. This value represents the default style for the M:System.DateTime.Parse(System.String), M:System.DateTime.ParseExact(System.String,System.String,System.IFormatProvider), and M:System.DateTime.TryParse(System.String,System.DateTime@) methods. |
AllowLeadingWhite | Leading white-space characters must be ignored during parsing, except if they occur in the T:System.Globalization.DateTimeFormatInfo format patterns. |
AllowTrailingWhite | Trailing white-space characters must be ignored during parsing, except if they occur in the T:System.Globalization.DateTimeFormatInfo format patterns. |
AllowInnerWhite | Extra white-space characters in the middle of the string must be ignored during parsing, except if they occur in the T:System.Globalization.DateTimeFormatInfo format patterns. |
AllowWhiteSpaces | Extra white-space characters anywhere in the string must be ignored during parsing, except if they occur in the T:System.Globalization.DateTimeFormatInfo format patterns. This value is a combination of the F:System.Globalization.DateTimeStyles.AllowLeadingWhite, F:System.Globalization.DateTimeStyles.AllowTrailingWhite, and F:System.Globalization.DateTimeStyles.AllowInnerWhite values. |
NoCurrentDateDefault | If the parsed string contains only the time and not the date, the parsing methods assume the Gregorian date with year = 1, month = 1, and day = 1. If this value is not used, the current date is assumed. |
AdjustToUniversal | Date and time are returned as a Coordinated Universal Time (UTC). If the input string denotes a local time, through a time zone specifier or F:System.Globalization.DateTimeStyles.AssumeLocal, the date and time are converted from the local time to UTC. If the input string denotes a UTC time, through a time zone specifier or F:System.Globalization.DateTimeStyles.AssumeUniversal, no conversion occurs. If the input string does not denote a local or UTC time, no conversion occurs and the resulting P:System.DateTime.Kind property is F:System.DateTimeKind.Unspecified. |
AssumeLocal | If no time zone is specified in the parsed string, the string is assumed to denote a local time. |
AssumeUniversal | If no time zone is specified in the parsed string, the string is assumed to denote a UTC. |
RoundtripKind | The T:System.DateTimeKind field of a date is preserved when a T:System.DateTime object is converted to a string using the "o" or "r" standard format specifier, and the string is then converted back to a T:System.DateTime object. |
Definition at line 10 of file DateTimeStyles.cs.
|
strong |
Specifies the culture-specific display of digits.
Definition at line 8 of file DigitShapes.cs.
|
strong |
Defines the different language versions of the Gregorian calendar.
Enumerator | |
---|---|
Localized | Refers to the localized version of the Gregorian calendar, based on the language of the T:System.Globalization.CultureInfo that uses the T:System.Globalization.DateTimeFormatInfo. |
USEnglish | Refers to the U.S. English version of the Gregorian calendar. |
MiddleEastFrench | Refers to the Middle East French version of the Gregorian calendar. |
Arabic | Refers to the Arabic version of the Gregorian calendar. |
TransliteratedEnglish | Refers to the transliterated English version of the Gregorian calendar. |
TransliteratedFrench | Refers to the transliterated French version of the Gregorian calendar. |
Definition at line 8 of file GregorianCalendarTypes.cs.
|
strong |
Determines the styles permitted in numeric string arguments that are passed to the Parse
and TryParse
methods of the integral and floating-point numeric types.
Definition at line 10 of file NumberStyles.cs.
|
strong |
Defines the formatting options that customize string parsing for the Overload:System.TimeSpan.ParseExact and Overload:System.TimeSpan.TryParseExact methods.
Definition at line 6 of file TimeSpanStyles.cs.
|
strong |
Defines the Unicode category of a character.
Enumerator | |
---|---|
UppercaseLetter | Uppercase letter. Signified by the Unicode designation "Lu" (letter, uppercase). The value is 0. |
LowercaseLetter | Lowercase letter. Signified by the Unicode designation "Ll" (letter, lowercase). The value is 1. |
TitlecaseLetter | Titlecase letter. Signified by the Unicode designation "Lt" (letter, titlecase). The value is 2. |
ModifierLetter | Modifier letter character, which is free-standing spacing character that indicates modifications of a preceding letter. Signified by the Unicode designation "Lm" (letter, modifier). The value is 3. |
OtherLetter | Letter that is not an uppercase letter, a lowercase letter, a titlecase letter, or a modifier letter. Signified by the Unicode designation "Lo" (letter, other). The value is 4. |
NonSpacingMark | Nonspacing character that indicates modifications of a base character. Signified by the Unicode designation "Mn" (mark, nonspacing). The value is 5. |
SpacingCombiningMark | Spacing character that indicates modifications of a base character and affects the width of the glyph for that base character. Signified by the Unicode designation "Mc" (mark, spacing combining). The value is 6. |
EnclosingMark | Enclosing mark character, which is a nonspacing combining character that surrounds all previous characters up to and including a base character. Signified by the Unicode designation "Me" (mark, enclosing). The value is 7. |
DecimalDigitNumber | Decimal digit character, that is, a character in the range 0 through 9. Signified by the Unicode designation "Nd" (number, decimal digit). The value is 8. |
LetterNumber | Number represented by a letter, instead of a decimal digit, for example, the Roman numeral for five, which is "V". The indicator is signified by the Unicode designation "Nl" (number, letter). The value is 9. |
OtherNumber | Number that is neither a decimal digit nor a letter number, for example, the fraction 1/2. The indicator is signified by the Unicode designation "No" (number, other). The value is 10. |
SpaceSeparator | Space character, which has no glyph but is not a control or format character. Signified by the Unicode designation "Zs" (separator, space). The value is 11. |
LineSeparator | Character that is used to separate lines of text. Signified by the Unicode designation "Zl" (separator, line). The value is 12. |
ParagraphSeparator | Character used to separate paragraphs. Signified by the Unicode designation "Zp" (separator, paragraph). The value is 13. |
Control | Control code character, with a Unicode value of U+007F or in the range U+0000 through U+001F or U+0080 through U+009F. Signified by the Unicode designation "Cc" (other, control). The value is 14. |
Format | Format character that affects the layout of text or the operation of text processes, but is not normally rendered. Signified by the Unicode designation "Cf" (other, format). The value is 15. |
Surrogate | High surrogate or a low surrogate character. Surrogate code values are in the range U+D800 through U+DFFF. Signified by the Unicode designation "Cs" (other, surrogate). The value is 16. |
PrivateUse | Private-use character, with a Unicode value in the range U+E000 through U+F8FF. Signified by the Unicode designation "Co" (other, private use). The value is 17. |
ConnectorPunctuation | Connector punctuation character that connects two characters. Signified by the Unicode designation "Pc" (punctuation, connector). The value is 18. |
DashPunctuation | Dash or hyphen character. Signified by the Unicode designation "Pd" (punctuation, dash). The value is 19. |
OpenPunctuation | Opening character of one of the paired punctuation marks, such as parentheses, square brackets, and braces. Signified by the Unicode designation "Ps" (punctuation, open). The value is 20. |
ClosePunctuation | Closing character of one of the paired punctuation marks, such as parentheses, square brackets, and braces. Signified by the Unicode designation "Pe" (punctuation, close). The value is 21. |
InitialQuotePunctuation | Opening or initial quotation mark character. Signified by the Unicode designation "Pi" (punctuation, initial quote). The value is 22. |
FinalQuotePunctuation | Closing or final quotation mark character. Signified by the Unicode designation "Pf" (punctuation, final quote). The value is 23. |
OtherPunctuation | Punctuation character that is not a connector, a dash, open punctuation, close punctuation, an initial quote, or a final quote. Signified by the Unicode designation "Po" (punctuation, other). The value is 24. |
MathSymbol | Mathematical symbol character, such as "+" or "= ". Signified by the Unicode designation "Sm" (symbol, math). The value is 25. |
CurrencySymbol | Currency symbol character. Signified by the Unicode designation "Sc" (symbol, currency). The value is 26. |
ModifierSymbol | Modifier symbol character, which indicates modifications of surrounding characters. For example, the fraction slash indicates that the number to the left is the numerator and the number to the right is the denominator. The indicator is signified by the Unicode designation "Sk" (symbol, modifier). The value is 27. |
OtherSymbol | Symbol character that is not a mathematical symbol, a currency symbol or a modifier symbol. Signified by the Unicode designation "So" (symbol, other). The value is 28. |
OtherNotAssigned | Character that is not assigned to any Unicode category. Signified by the Unicode designation "Cn" (other, not assigned). The value is 29. |
Definition at line 9 of file UnicodeCategory.cs.