ContactField Constructors

Definition

Overloads

ContactField(String, ContactFieldType)

Note

IContactFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactPhone or ContactEmail.

Creates a new ContactFieldobject.

ContactField(String, ContactFieldType, ContactFieldCategory)

Note

IContactFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactPhone or ContactEmail.

Creates a new ContactFieldobject.

ContactField(String, String, ContactFieldType, ContactFieldCategory)

Note

IContactFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactPhone or ContactEmail.

Creates a new ContactFieldobject.

ContactField(String, ContactFieldType)

Note

IContactFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactPhone or ContactEmail.

Creates a new ContactFieldobject.

public:
 ContactField(Platform::String ^ value, ContactFieldType type);
 ContactField(winrt::hstring const& value, ContactFieldType const& type);
public ContactField(string value, ContactFieldType type);
function ContactField(value, type)
Public Sub New (value As String, type As ContactFieldType)

Parameters

value
String

Platform::String

winrt::hstring

The value that the field contains.

type
ContactFieldType

The type of contact data.

Windows requirements

App capabilities
contactsSystem

See also

Applies to

ContactField(String, ContactFieldType, ContactFieldCategory)

Note

IContactFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactPhone or ContactEmail.

Creates a new ContactFieldobject.

public:
 ContactField(Platform::String ^ value, ContactFieldType type, ContactFieldCategory category);
 ContactField(winrt::hstring const& value, ContactFieldType const& type, ContactFieldCategory const& category);
public ContactField(string value, ContactFieldType type, ContactFieldCategory category);
function ContactField(value, type, category)
Public Sub New (value As String, type As ContactFieldType, category As ContactFieldCategory)

Parameters

value
String

Platform::String

winrt::hstring

The value for the contact field.

type
ContactFieldType

The type of contact data.

category
ContactFieldCategory

The category that the contact belongs to.

Windows requirements

App capabilities
contactsSystem

See also

Applies to

ContactField(String, String, ContactFieldType, ContactFieldCategory)

Note

IContactFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactPhone or ContactEmail.

Creates a new ContactFieldobject.

public:
 ContactField(Platform::String ^ name, Platform::String ^ value, ContactFieldType type, ContactFieldCategory category);
 ContactField(winrt::hstring const& name, winrt::hstring const& value, ContactFieldType const& type, ContactFieldCategory const& category);
public ContactField(string name, string value, ContactFieldType type, ContactFieldCategory category);
function ContactField(name, value, type, category)
Public Sub New (name As String, value As String, type As ContactFieldType, category As ContactFieldCategory)

Parameters

name
String

Platform::String

winrt::hstring

The name of the field.

value
String

Platform::String

winrt::hstring

The value the field contains.

type
ContactFieldType

The type of field.

category
ContactFieldCategory

The category the field belongs to.

Windows requirements

App capabilities
contactsSystem

See also

Applies to