Share via


Address.SubLocality Property

Definition

Returns the sub-locality of the address, or null if it is unknown. -or- Sets the sub-locality of the address to the given String, which may be null.

public virtual string? SubLocality { [Android.Runtime.Register("getSubLocality", "()Ljava/lang/String;", "GetGetSubLocalityHandler")] get; [Android.Runtime.Register("setSubLocality", "(Ljava/lang/String;)V", "GetSetSubLocality_Ljava_lang_String_Handler")] set; }
[<get: Android.Runtime.Register("getSubLocality", "()Ljava/lang/String;", "GetGetSubLocalityHandler")>]
[<set: Android.Runtime.Register("setSubLocality", "(Ljava/lang/String;)V", "GetSetSubLocality_Ljava_lang_String_Handler")>]
member this.SubLocality : string with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns the sub-locality of the address, or null if it is unknown. For example, this may correspond to the neighborhood of the locality.

Java documentation for android.location.Address.getSubLocality().

Property setter documentation:

Sets the sub-locality of the address to the given String, which may be null.

Java documentation for android.location.Address.setSubLocality(java.lang.String).

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.

Applies to