Udostępnij za pośrednictwem


ContactInstantMessageField Constructors

Definition

Overloads

ContactInstantMessageField(String)

Creates a new ContactInstantMessageFieldobject.

Note

IContactInstantMessageFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactConnectedServiceAccount.

ContactInstantMessageField(String, ContactFieldCategory)

Creates a new ContactInstantMessageFieldobject.

Note

IContactInstantMessageFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactConnectedServiceAccount.

ContactInstantMessageField(String, ContactFieldCategory, String, String, Uri)

Creates a new ContactInstantMessageFieldobject.

Note

IContactInstantMessageFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactConnectedServiceAccount.

ContactInstantMessageField(String)

Creates a new ContactInstantMessageFieldobject.

Note

IContactInstantMessageFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactConnectedServiceAccount.

public:
 ContactInstantMessageField(Platform::String ^ userName);
 ContactInstantMessageField(winrt::hstring const& userName);
public ContactInstantMessageField(string userName);
function ContactInstantMessageField(userName)
Public Sub New (userName As String)

Parameters

userName
String

Platform::String

winrt::hstring

The user's name.

Windows requirements

App capabilities
contactsSystem

See also

Applies to

ContactInstantMessageField(String, ContactFieldCategory)

Creates a new ContactInstantMessageFieldobject.

Note

IContactInstantMessageFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactConnectedServiceAccount.

public:
 ContactInstantMessageField(Platform::String ^ userName, ContactFieldCategory category);
 ContactInstantMessageField(winrt::hstring const& userName, ContactFieldCategory const& category);
public ContactInstantMessageField(string userName, ContactFieldCategory category);
function ContactInstantMessageField(userName, category)
Public Sub New (userName As String, category As ContactFieldCategory)

Parameters

userName
String

Platform::String

winrt::hstring

The user's name.

category
ContactFieldCategory

The category of contact data.

Windows requirements

App capabilities
contactsSystem

See also

Applies to

ContactInstantMessageField(String, ContactFieldCategory, String, String, Uri)

Creates a new ContactInstantMessageFieldobject.

Note

IContactInstantMessageFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactConnectedServiceAccount.

public:
 ContactInstantMessageField(Platform::String ^ userName, ContactFieldCategory category, Platform::String ^ service, Platform::String ^ displayText, Uri ^ verb);
 ContactInstantMessageField(winrt::hstring const& userName, ContactFieldCategory const& category, winrt::hstring const& service, winrt::hstring const& displayText, Uri const& verb);
public ContactInstantMessageField(string userName, ContactFieldCategory category, string service, string displayText, System.Uri verb);
function ContactInstantMessageField(userName, category, service, displayText, verb)
Public Sub New (userName As String, category As ContactFieldCategory, service As String, displayText As String, verb As Uri)

Parameters

userName
String

Platform::String

winrt::hstring

The user's name.

category
ContactFieldCategory

The category of the contact data.

service
String

Platform::String

winrt::hstring

The name of the instant messaging service.

displayText
String

Platform::String

winrt::hstring

The display text used with the instant messaging Uniform Resource Identifier (URI).

verb
Uri Uri

The Uniform Resource Identifier (URI) that starts an instant message.

Windows requirements

App capabilities
contactsSystem

See also

Applies to