Dela via


ContactAddress.PostalCode Property

Definition

Gets or sets the postal code of a contact address. The maximum string length for the postal code is 1024 characters.

public:
 property Platform::String ^ PostalCode { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring PostalCode();

void PostalCode(winrt::hstring value);
public string PostalCode { get; set; }
var string = contactAddress.postalCode;
contactAddress.postalCode = string;
Public Property PostalCode As String

Property Value

String

Platform::String

winrt::hstring

The postal code of a contact address. The maximum string length for the postal code is 1024 characters.

Windows requirements

App capabilities
contactsSystem

Applies to