Freigeben über


Address.PostalCode Property

Definition

Returns the postal code of the address, for example "94110", or null if it is unknown. -or- Sets the postal code of the address to the given String, which may be null.

public virtual string? PostalCode { [Android.Runtime.Register("getPostalCode", "()Ljava/lang/String;", "GetGetPostalCodeHandler")] get; [Android.Runtime.Register("setPostalCode", "(Ljava/lang/String;)V", "GetSetPostalCode_Ljava_lang_String_Handler")] set; }
[<get: Android.Runtime.Register("getPostalCode", "()Ljava/lang/String;", "GetGetPostalCodeHandler")>]
[<set: Android.Runtime.Register("setPostalCode", "(Ljava/lang/String;)V", "GetSetPostalCode_Ljava_lang_String_Handler")>]
member this.PostalCode : string with get, set

Property Value

Attributes

Remarks

Property getter documentation:

Returns the postal code of the address, for example "94110", or null if it is unknown.

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

Property setter documentation:

Sets the postal code of the address to the given String, which may be null.

Java documentation for android.location.Address.setPostalCode(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