Share via


Contact.MiddleName Property

Definition

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

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

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

Property Value

String

Platform::String

winrt::hstring

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

Windows requirements

App capabilities
contactsSystem

Applies to

See also