Udostępnij za pośrednictwem


ULocale Class

Definition

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

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

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

Fields

PrivateUseExtension
UnicodeLocaleExtension

Properties

BaseName
Canada
CanadaFrench
CharacterOrientation
China
Chinese
Class

Returns the runtime class of this Object.

(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)
CreateCanonical(ULocale)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
ForLanguageTag(String)
ForLocale(Locale)
GetAvailableLocales()
GetAvailableLocalesByType(ULocale+AvailableType)
GetBaseName(String)
GetCountry(String)
GetDefault(ULocale+Category)
GetDisplayCountry(String, String)
GetDisplayCountry(String, ULocale)
GetDisplayCountry(ULocale)
GetDisplayKeyword(String, String)
GetDisplayKeyword(String, ULocale)
GetDisplayKeyword(String)
GetDisplayKeywordValue(String, String, String)
GetDisplayKeywordValue(String, String, ULocale)
GetDisplayKeywordValue(String, ULocale)
GetDisplayKeywordValue(String)
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 a hash code value for the object.

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

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

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

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

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

Returns a string representation of the object.

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

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IComparable.CompareTo(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