ContactFieldFactory class

0 out of 1 rated this helpful - Rate this topic

Creates fields that contain information about a contact. You can then add these fields to a Contact object to create the contact. This class is available only to apps that support the Contact contract.

Syntax


var contactFieldFactory = new Windows.ApplicationModel.Contacts.ContactFieldFactory();

Attributes

ActivatableAttribute(NTDDI_WIN8)
MarshalingBehaviorAttribute(Agile)
VersionAttribute(NTDDI_WIN8)

Members

The ContactFieldFactory class has these types of members:

Constructors

The ContactFieldFactory class has these constructors.

ConstructorDescription
ContactFieldFactory Creates an instance of the ContactFieldFactory class.

 

Methods

The ContactFieldFactory class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
CreateField(String, ContactFieldType) Creates a field to contain information about a contact.
CreateField(String, ContactFieldType, ContactFieldCategory) Creates a field to contain information about a contact.
CreateField(String, String, ContactFieldType, ContactFieldCategory) Creates a field to contain information about a contact.
CreateInstantMessage(String) Creates a field to contain information about a contact's instant messaging account.
CreateInstantMessage(String, ContactFieldCategory) Creates a field to contain information about a contact's instant messaging account.
CreateInstantMessage(String, ContactFieldCategory, String, String, Uri) Creates a field to contain information about a contact's instant messaging account.
CreateLocation(String) Creates a field to contain information about a contact's location.
CreateLocation(String, ContactFieldCategory) Creates a field to contain information about a contact's location.
CreateLocation(String, ContactFieldCategory, String, String, String, String, String) Creates a field to contain information about a contact's location.

 

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Namespace

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

Metadata

Windows.winmd

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.