namespace System.Globalization
{
//
// Summary:
// 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, and formatting for dates and sort strings.
public class CultureInfo : IFormatProvider
{
//
// Summary:
// Initializes a new instance of the System.Globalization.CultureInfo class based
// on the culture specified by name.
//
// Parameters:
// name:
// A predefined System.Globalization.CultureInfo name, System.Globalization.CultureInfo.Name
// of an existing System.Globalization.CultureInfo, or Windows-only culture name.
// name is not case-sensitive.
//
// Exceptions:
// T:System.ArgumentNullException:
// name is null.
//
// T:System.Globalization.CultureNotFoundException:
// name is not a valid culture name. For more information, see the Notes to Callers
// section.
public CultureInfo(string name);
//
// Summary:
// Gets the System.Globalization.CultureInfo object that is culture-independent
// (invariant).
//
// Returns:
// The object that is culture-independent (invariant).
public static CultureInfo InvariantCulture { get; }
//
// Summary:
// Gets or sets the default UI culture for threads in the current application domain.
//
// Returns:
// The default UI culture for threads in the current application domain, or null
// if the current system UI culture is the default thread UI culture in the application
// domain.
//
// Exceptions:
// T:System.ArgumentException:
// In a set operation, the System.Globalization.CultureInfo.Name property value
// is invalid.
public static CultureInfo DefaultThreadCurrentUICulture { get; set; }
//
// Summary:
// Gets or sets the System.Globalization.CultureInfo object that represents the
// current user interface culture used by the Resource Manager to look up culture-specific
// resources at run time.
//
// Returns:
// The culture used by the Resource Manager to look up culture-specific resources
// at run time.
//
// Exceptions:
// T:System.ArgumentNullException:
// The property is set to null.
//
// T:System.ArgumentException:
// The property is set to a culture name that cannot be used to locate a resource
// file. Resource filenames can include only letters, numbers, hyphens, or underscores.
public static CultureInfo CurrentUICulture { get; set; }
//
// Summary:
// Gets or sets the System.Globalization.CultureInfo object that represents the
// culture used by the current thread.
//
// Returns:
// An object that represents the culture used by the current thread.
//
// Exceptions:
// T:System.ArgumentNullException:
// The property is set to null.
public static CultureInfo CurrentCulture { get; set; }
//
// Summary:
// Gets or sets the default culture for threads in the current application domain.
//
// Returns:
// The default culture for threads in the current application domain, or null if
// the current system culture is the default thread culture in the application domain.
public static CultureInfo DefaultThreadCurrentCulture { get; set; }
//
// Summary:
// Gets the culture name in the format languagefull [country/regionfull] in English.
//
// Returns:
// The culture name in the format languagefull [country/regionfull] in English,
// where languagefull is the full name of the language and country/regionfull is
// the full name of the country/region.
public virtual string EnglishName { get; }
//
// Summary:
// Gets the System.Globalization.CultureInfo that represents the parent culture
// of the current System.Globalization.CultureInfo.
//
// Returns:
// The System.Globalization.CultureInfo that represents the parent culture of the
// current System.Globalization.CultureInfo.
public virtual CultureInfo Parent { get; }
//
// Summary:
// Gets the list of calendars that can be used by the culture.
//
// Returns:
// An array of type System.Globalization.Calendar that represents the calendars
// that can be used by the culture represented by the current System.Globalization.CultureInfo.
public virtual Calendar[] OptionalCalendars { get; }
//
// Summary:
// Gets or sets a System.Globalization.NumberFormatInfo that defines the culturally
// appropriate format of displaying numbers, currency, and percentage.
//
// Returns:
// A System.Globalization.NumberFormatInfo that defines the culturally appropriate
// format of displaying numbers, currency, and percentage.
//
// Exceptions:
// T:System.ArgumentNullException:
// The property is set to null.
//
// T:System.InvalidOperationException:
// The System.Globalization.CultureInfo.NumberFormat property or any of the System.Globalization.NumberFormatInfo
// properties is set, and the System.Globalization.CultureInfo is read-only.
public virtual NumberFormatInfo NumberFormat { get; set; }
//
// Summary:
// Gets the culture name, consisting of the language, the country/region, and the
// optional script, that the culture is set to display.
//
// Returns:
// The culture name. consisting of the full name of the language, the full name
// of the country/region, and the optional script. The format is discussed in the
// description of the System.Globalization.CultureInfo class.
public virtual string NativeName { get; }
//
// Summary:
// Gets the culture name in the format languagecode2-country/regioncode2.
//
// Returns:
// The culture name in the format languagecode2-country/regioncode2. languagecode2
// is a lowercase two-letter code derived from ISO 639-1. country/regioncode2 is
// derived from ISO 3166 and usually consists of two uppercase letters, or a BCP-47
// language tag.
public virtual string Name { get; }
//
// Summary:
// Gets a value indicating whether the current System.Globalization.CultureInfo
// is read-only.
//
// Returns:
// true if the current System.Globalization.CultureInfo is read-only; otherwise,
// false. The default is false.
public bool IsReadOnly { get; }
//
// Summary:
// Gets a value indicating whether the current System.Globalization.CultureInfo
// represents a neutral culture.
//
// Returns:
// true if the current System.Globalization.CultureInfo represents a neutral culture;
// otherwise, false.
public virtual bool IsNeutralCulture { get; }
//
// Summary:
// Gets the ISO 639-1 two-letter code for the language of the current System.Globalization.CultureInfo.
//
// Returns:
// The ISO 639-1 two-letter code for the language of the current System.Globalization.CultureInfo.
public virtual string TwoLetterISOLanguageName { get; }
//
// Summary:
// Gets the System.Globalization.TextInfo that defines the writing system associated
// with the culture.
//
// Returns:
// The System.Globalization.TextInfo that defines the writing system associated
// with the culture.
public virtual TextInfo TextInfo { get; }
//
// Summary:
// Gets or sets a System.Globalization.DateTimeFormatInfo that defines the culturally
// appropriate format of displaying dates and times.
//
// Returns:
// A System.Globalization.DateTimeFormatInfo that defines the culturally appropriate
// format of displaying dates and times.
//
// Exceptions:
// T:System.ArgumentNullException:
// The property is set to null.
//
// T:System.InvalidOperationException:
// The System.Globalization.CultureInfo.DateTimeFormat property or any of the System.Globalization.DateTimeFormatInfo
// properties is set, and the System.Globalization.CultureInfo is read-only.
public virtual DateTimeFormatInfo DateTimeFormat { get; set; }
//
// Summary:
// Gets the System.Globalization.CompareInfo that defines how to compare strings
// for the culture.
//
// Returns:
// The System.Globalization.CompareInfo that defines how to compare strings for
// the culture.
public virtual CompareInfo CompareInfo { get; }
//
// Summary:
// Gets the default calendar used by the culture.
//
// Returns:
// A System.Globalization.Calendar that represents the default calendar used by
// the culture.
public virtual Calendar Calendar { get; }
//
// Summary:
// Gets the full localized culture name.
//
// Returns:
// The full localized culture name in the format languagefull [country/regionfull],
// where languagefull is the full name of the language and country/regionfull is
// the full name of the country/region.
public virtual string DisplayName { get; }
//
// Summary:
// Returns a read-only wrapper around the specified System.Globalization.CultureInfo
// object.
//
// Parameters:
// ci:
// The System.Globalization.CultureInfo object to wrap.
//
// Returns:
// A read-only System.Globalization.CultureInfo wrapper around ci.
//
// Exceptions:
// T:System.ArgumentNullException:
// ci is null.
public static CultureInfo ReadOnly(CultureInfo ci);
//
// Summary:
// Creates a copy of the current System.Globalization.CultureInfo.
//
// Returns:
// A copy of the current System.Globalization.CultureInfo.
public virtual object Clone();
//
// Summary:
// Determines whether the specified object is the same culture as the current System.Globalization.CultureInfo.
//
// Parameters:
// value:
// The object to compare with the current System.Globalization.CultureInfo.
//
// Returns:
// true if value is the same culture as the current System.Globalization.CultureInfo;
// otherwise, false.
public override bool Equals(object value);
//
// Summary:
// Gets an object that defines how to format the specified type.
//
// Parameters:
// formatType:
// The System.Type for which to get a formatting object. This method only supports
// the System.Globalization.NumberFormatInfo and System.Globalization.DateTimeFormatInfo
// types.
//
// Returns:
// The value of the System.Globalization.CultureInfo.NumberFormat property, which
// is a System.Globalization.NumberFormatInfo containing the default number format
// information for the current System.Globalization.CultureInfo, if formatType is
// the System.Type object for the System.Globalization.NumberFormatInfo class.-or-
// The value of the System.Globalization.CultureInfo.DateTimeFormat property, which
// is a System.Globalization.DateTimeFormatInfo containing the default date and
// time format information for the current System.Globalization.CultureInfo, if
// formatType is the System.Type object for the System.Globalization.DateTimeFormatInfo
// class.-or- null, if formatType is any other object.
public virtual object GetFormat(Type formatType);
//
// Summary:
// Serves as a hash function for the current System.Globalization.CultureInfo, suitable
// for hashing algorithms and data structures, such as a hash table.
//
// Returns:
// A hash code for the current System.Globalization.CultureInfo.
public override int GetHashCode();
//
// Summary:
// Returns a string containing the name of the current System.Globalization.CultureInfo
// in the format languagecode2-country/regioncode2.
//
// Returns:
// A string containing the name of the current System.Globalization.CultureInfo.
public override string ToString();
}
}
'reference > VS metadata' 카테고리의 다른 글
DependencyObject (0) | 2018.01.02 |
---|---|
DependencyObject description from metadata (0) | 2017.12.13 |
FrameworkElement MeasureOverride and ArrangeOverride Method from metadata description (0) | 2017.12.13 |
UIElement Measure and Arrange Method from metadata description (0) | 2017.12.12 |