ULocale Class

Definition

[Android.Runtime.Register("android/icu/util/ULocale", ApiSince=24, DoNotGenerateAcw=true)]
public sealed class ULocale : Java.Lang.Object, IDisposable, Java.IO.ISerializable, Java.Lang.IComparable
type ULocale = class
    inherit Object
    interface ISerializable
    interface IJavaObject
    interface IDisposable
    interface IComparable
Inheritance
ULocale
Attributes
Implements

Remarks

Portions of this page are modifications based on work created and shared by the  and used according to terms described in the 

Constructors

ULocale(String)
ULocale(String, String)
ULocale(String, String, String)

Fields

PrivateUseExtension
UnicodeLocaleExtension

Properties

BaseName
Canada
CanadaFrench
CharacterOrientation
China
Chinese
Class

Returns the unique instance of Class that represents this object's class.

(Inherited from Object)
Country
Default
DisplayCountry
DisplayLanguage
DisplayLanguageWithDialect
DisplayName
DisplayNameWithDialect
DisplayScript
DisplayVariant
English
ExtensionKeys
Fallback
France
French
German
Germany
Handle

The handle to the underlying Android instance.

(Inherited from Object)
ISO3Country
ISO3Language
IsRightToLeft
Italian
Italy
Japan
Japanese
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
Keywords
Korea
Korean
Language
LineOrientation
Name
PeerReference (Inherited from Object)
Prc
Root
Script
SimplifiedChinese
Taiwan
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
TraditionalChinese
Uk
UnicodeLocaleAttributes
UnicodeLocaleKeys
Us
Variant

Methods

AcceptLanguage(String, Boolean[])
AcceptLanguage(String, ULocale[], Boolean[])
AcceptLanguage(ULocale[], Boolean[])
AcceptLanguage(ULocale[], ULocale[], Boolean[])
AddLikelySubtags(ULocale)
Canonicalize(String)
Clone()
CompareTo(ULocale)
CreateCanonical(String)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Compares this instance with the specified object and indicates if they are equal.

(Inherited from Object)
ForLanguageTag(String)
ForLocale(Locale)
GetAvailableLocales()
GetBaseName(String)
GetCountry(String)
GetDefault(ULocale+Category)
GetDisplayCountry(String, String)
GetDisplayCountry(String, ULocale)
GetDisplayCountry(ULocale)
GetDisplayKeyword(String)
GetDisplayKeyword(String, String)
GetDisplayKeyword(String, ULocale)
GetDisplayKeywordValue(String)
GetDisplayKeywordValue(String, String, String)
GetDisplayKeywordValue(String, String, ULocale)
GetDisplayKeywordValue(String, ULocale)
GetDisplayLanguage(String, String)
GetDisplayLanguage(String, ULocale)
GetDisplayLanguage(ULocale)
GetDisplayLanguageWithDialect(String, String)
GetDisplayLanguageWithDialect(String, ULocale)
GetDisplayLanguageWithDialect(ULocale)
GetDisplayName(String, String)
GetDisplayName(String, ULocale)
GetDisplayName(ULocale)
GetDisplayNameWithDialect(String, String)
GetDisplayNameWithDialect(String, ULocale)
GetDisplayNameWithDialect(ULocale)
GetDisplayScript(String, String)
GetDisplayScript(String, ULocale)
GetDisplayScript(ULocale)
GetDisplayVariant(String, String)
GetDisplayVariant(String, ULocale)
GetDisplayVariant(ULocale)
GetExtension(Char)
GetFallback(String)
GetHashCode()

Returns an integer hash code for this object.

(Inherited from Object)
GetISO3Country(String)
GetISO3Language(String)
GetISOCountries()
GetISOLanguages()
GetKeywords(String)
GetKeywordValue(String)
GetKeywordValue(String, String)
GetLanguage(String)
GetName(String)
GetScript(String)
GetUnicodeLocaleType(String)
GetVariant(String)
JavaFinalize()

Invoked when the garbage collector has detected that this instance is no longer reachable.

(Inherited from Object)
MinimizeSubtags(ULocale)
Notify()

Causes a thread which is waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
NotifyAll()

Causes all threads which are waiting on this object's monitor (by means of calling one of the wait() methods) to be woken up.

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetKeywordValue(String, String)
SetKeywordValue(String, String, String)
ToArray<T>() (Inherited from Object)
ToLanguageTag()
ToLegacyKey(String)
ToLegacyType(String, String)
ToLocale()
ToString()

Returns a string containing a concise, human-readable description of this object.

(Inherited from Object)
ToUnicodeLocaleKey(String)
ToUnicodeLocaleType(String, String)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.

(Inherited from Object)
Wait(Int64)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)
Wait(Int64, Int32)

Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the specified timeout expires.

(Inherited from Object)

Explicit Interface Implementations

IComparable.CompareTo(Object)
IJavaObjectEx.IsProxy (Inherited from Object)
IJavaObjectEx.KeyHandle (Inherited from Object)
IJavaObjectEx.NeedsActivation (Inherited from Object)
IJavaObjectEx.ToLocalJniHandle() (Inherited from Object)
IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to