Partager via


Address.GetAddressLine(Int32) Method

Definition

Returns a line of the address numbered by the given index (starting at 0), or null if no such line is present.

[Android.Runtime.Register("getAddressLine", "(I)Ljava/lang/String;", "GetGetAddressLine_IHandler")]
public virtual string? GetAddressLine (int index);
[<Android.Runtime.Register("getAddressLine", "(I)Ljava/lang/String;", "GetGetAddressLine_IHandler")>]
abstract member GetAddressLine : int -> string
override this.GetAddressLine : int -> string

Parameters

index
Int32

Returns

Attributes

Exceptions

Remarks

Returns a line of the address numbered by the given index (starting at 0), or null if no such line is present.

Java documentation for android.location.Address.getAddressLine(int).

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