ContactFieldFactory Class

[ContactFieldFactory peut être modifié ou non disponible pour les versions ultérieures à Windows 8.1. Utilisez plutôt ContactAddress ContactPhone ContactSignificantOther, Contact ContactEmail ContactWebsite ou ContactJobInfo ContactDate. ]

Crée des champs qui contiennent des informations sur un contact. Vous pouvez ensuite ajouter ces champs à un objet Contact pour créer le contact. Cette classe est disponible uniquement pour les applications qui prennent en charge le contrat de contacts.

Syntaxe


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

Attributs

[Deprecated()]
[MarshalingBehavior(Agile)]
[Version(0x06020000)]

Membres

ContactFieldFactoryClasse possède ces types de membres :

Constructeurs

ContactFieldFactoryClasse possède ces constructeurs.

ConstructeurDescription
ContactFieldFactory ContactFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress, ContactPhone, ContactSignificantOther, Contact, ContactEmail, ContactWebsite, ContactJobInfo, or ContactDate. Creates an instance of the ContactFieldFactory class.

 

Méthodes

The ContactFieldFactory Classe a les méthodes suivantes. Avec C#, Visual Basic et C++, elle hérite également des méthodes de Object Classe.

MéthodeDescription
CreateField(String, ContactFieldType) IContactFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactPhone or ContactEmail. Creates a field to contain information about a contact.
CreateField(String, ContactFieldType, ContactFieldCategory) IContactFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactPhone or ContactEmail. Creates a field to contain information about a contact.
CreateField(String, String, ContactFieldType, ContactFieldCategory) IContactFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactPhone or ContactEmail. Creates a field to contain information about a contact.
CreateInstantMessage(String) IContactInstantMessageFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactConnectedServiceAccount. Creates a field to contain information about a contact's instant messaging account.
CreateInstantMessage(String, ContactFieldCategory) IContactInstantMessageFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactConnectedServiceAccount. Creates a field to contain information about a contact's instant messaging account.
CreateInstantMessage(String, ContactFieldCategory, String, String, Uri) IContactInstantMessageFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactConnectedServiceAccount. Creates a field to contain information about a contact's instant messaging account.
CreateLocation(String) IContactLocationFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress. Creates a field to contain information about a contact's location.
CreateLocation(String, ContactFieldCategory) IContactLocationFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress. Creates a field to contain information about a contact's location.
CreateLocation(String, ContactFieldCategory, String, String, String, String, String) IContactLocationFieldFactory may be altered or unavailable for releases after Windows 8.1. Instead, use ContactAddress. Creates a field to contain information about a contact's location.

 

Conditions requises

Client minimal pris en charge

Windows 8 [Applications Windows Store uniquement]

Serveur minimal pris en charge

Windows Server 2012 [Applications Windows Store uniquement]

Espace de noms

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

Métadonnées

Windows.winmd

 

 

Afficher:
© 2014 Microsoft. Tous droits réservés.