Contact.FirstName Property

Definition

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

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

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

Property Value

String

Platform::String

winrt::hstring

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

Windows requirements

App capabilities
contactsSystem

Applies to

See also