ContactInstantMessageField.ContactInstantMessageField(String) constructor

Applies to Windows and Windows Phone

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

Creates a new ContactInstantMessageField object.

Syntax


var contactInstantMessageField = new Windows.ApplicationModel.Contacts.ContactInstantMessageField(userName);

Parameters

userName

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The user's name.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.ApplicationModel.Contacts
Windows::ApplicationModel::Contacts [C++]

Metadata

Windows.winmd

See also

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

 

 

Show:
© 2014 Microsoft