Contact.Name Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets and gets the name of the contact.
Note
Name may be altered or unavailable for releases after Windows 8.1. Instead, use FirstName, MiddleName, and LastName.
public:
property Platform::String ^ Name { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Name();
void Name(winrt::hstring value);
public string Name { get; set; }
var string = contact.name;
contact.name = string;
Public Property Name As String
Property Value
The name of the contact.
Windows requirements
App capabilities |
contactsSystem
|
Remarks
An app can set the name property to any value that matches the name of a contact. We recommend that you set this value to contain both the first and last names of the contact, if that information is available.