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.
| Constructor | Description |
|---|---|
| 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.
| Method | Description |
|---|---|
| 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 |
|
|
Metadata |
|
Build date: 12/4/2012