NSLocale Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Register("NSLocale", true)]
public class NSLocale : Foundation.NSObject, Foundation.INSCopying, Foundation.INSSecureCoding, IDisposable
[<Foundation.Register("NSLocale", true)>]
type NSLocale = class
inherit NSObject
interface INSCoding
interface INativeObject
interface IDisposable
interface INSCopying
interface INSSecureCoding
- Inheritance
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| NSLocale(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| NSLocale(NSCoder) |
A constructor that initializes the object from the data stored in the unarchiver object. |
| NSLocale(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
| NSLocale(String) | |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| AlternateQuotationBeginDelimiterKey |
Gets the alternate quotation begin delimiter for the locale. |
| AlternateQuotationEndDelimiterKey |
Gets the alternate quotation end delimiter for the locale. |
| AutoUpdatingCurrentLocale | |
| AvailableLocaleIdentifiers | |
| Calendar |
Gets the calendar for the locale. |
| CalendarIdentifier | |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| CollationIdentifier |
Gets the collation identifier for the locale. |
| CollatorIdentifier |
Gets the collator identifier for the locale. |
| CommonISOCurrencyCodes | |
| CountryCode |
Gets the country code for the locale. |
| CurrencyCode |
Gets the currency code for the locale. |
| CurrencySymbol |
Gets the currency symbol for the locale. |
| CurrentLocale | |
| CurrentLocaleDidChangeNotification |
Notification constant for CurrentLocaleDidChange |
| DebugDescription | (Inherited from NSObject) |
| DecimalSeparator |
Gets the decimal separator for the locale. |
| Description | (Inherited from NSObject) |
| ExemplarCharacterSet |
Gets the exemplar character set for the locale. |
| ExposedBindings | (Inherited from NSObject) |
| GroupingSeparator |
Gets the grouping separator for the locale. |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| Identifier |
Gets the locale identifier string. |
| IsDirectBinding |
Gets or sets a value indicating whether this instance uses direct Objective-C binding. (Inherited from NSObject) |
| ISOCountryCodes | |
| ISOCurrencyCodes | |
| ISOLanguageCodes | |
| IsProxy | (Inherited from NSObject) |
| LanguageCode |
Gets the language code for the locale. |
| LanguageIdentifier | |
| LocaleIdentifier | |
| MeasurementSystem |
Gets the measurement system for the locale. |
| PreferredLanguages | |
| QuotationBeginDelimiterKey |
Gets the quotation begin delimiter for the locale. |
| QuotationEndDelimiterKey |
Gets the quotation end delimiter for the locale. |
| RegionCode | |
| RetainCount | (Inherited from NSObject) |
| ScriptCode |
Gets the script code for the locale. |
| Self | (Inherited from NSObject) |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| SystemLocale | |
| UsesMetricSystem |
Gets a value indicating whether the locale uses the metric system. |
| VariantCode |
Gets the variant code for the locale. |
| Zone | (Inherited from NSObject) |