Dela via


Contact.LastName Property

Definition

Gets or sets the last name for a contact. The maximum string length for the last name is 64 characters.

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

void LastName(winrt::hstring value);
public string LastName { get; set; }
var string = contact.lastName;
contact.lastName = string;
Public Property LastName As String

Property Value

String

Platform::String

winrt::hstring

The last name for a contact. The maximum string length for the last name is 64 characters.

Windows requirements

App capabilities
contactsSystem

Applies to

See also