ContactEmail ContactEmail ContactEmail ContactEmail Class

Definition

Represents an email address of a contact.

public : sealed class ContactEmail : IContactEmail
public sealed class ContactEmail : IContactEmail
Public NotInheritable Class ContactEmail Implements IContactEmail
var contactEmail = new contactEmail();
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
contactsSystem

Remarks

For info about how to manage contacts, see Managing contact cards and Managing contact cards .

Constructors

ContactEmail() ContactEmail() ContactEmail() ContactEmail()

Initializes a new instance of a ContactEmail class.

public : ContactEmail()
public ContactEmail()
Public Sub New()
var contactEmail = new contactEmail();
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
contactsSystem

Properties

Address Address Address Address

Gets and sets the email address of a contact. The maximum string length for the description is 321 characters.

public : Platform::String Address { get; set; }
public string Address { get; set; }
Public ReadWrite Property Address As string
var string = contactEmail.address;
contactEmail.address = string;
Value
Platform::String string string string

The email address of a contact.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
contactsSystem

Description Description Description Description

Gets and sets the description of an email address of a contact. The maximum string length for the description is 512 characters.

public : Platform::String Description { get; set; }
public string Description { get; set; }
Public ReadWrite Property Description As string
var string = contactEmail.description;
contactEmail.description = string;
Value
Platform::String string string string

The description of an email address of a contact.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
contactsSystem

Kind Kind Kind Kind

Gets and sets the kind of email address of a contact.

public : ContactEmailKind Kind { get; set; }
public ContactEmailKind Kind { get; set; }
Public ReadWrite Property Kind As ContactEmailKind
var contactEmailKind = contactEmail.kind;
contactEmail.kind = contactEmailKind;
Value
ContactEmailKind ContactEmailKind ContactEmailKind ContactEmailKind

A ContactEmailKind -typed value that indicates the type of email address.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
contactsSystem

See Also