SaveContactTask Class
Windows Phone
March 22, 2012
Provides methods and events for launching the contacts application and enabling a user to save a contact.
System.Object
Microsoft.Phone.Tasks.ChooserBase<SaveContactResult>
Microsoft.Phone.Tasks.SaveContactTask
Microsoft.Phone.Tasks.ChooserBase<SaveContactResult>
Microsoft.Phone.Tasks.SaveContactTask
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
The SaveContactTask type exposes the following members.
| Name | Description | |
|---|---|---|
|
Company | Gets or sets the name of the company associated with the contact. |
|
FirstName | Gets or sets the given name of the contact. |
|
HomeAddressCity | Gets or sets the city of the home address associated with the contact. |
|
HomeAddressCountry | Gets or sets the country or region of the home address associated with the contact. |
|
HomeAddressState | Gets or sets the state of the home address associated with the contact. |
|
HomeAddressStreet | Gets or sets the street name and number of the home address associated with the contact. |
|
HomeAddressZipCode | Gets or sets the postal code of the home address associated with the contact. |
|
HomePhone | Gets or sets the home phone number associated with the contact. |
|
JobTitle | Gets or sets the job title associated with the contact. |
|
LastName | Gets or sets the surname of the contact. |
|
MiddleName | Gets or sets the middle name of the contact. |
|
MobilePhone | Gets or sets the mobile phone number associated with the contact. |
|
Nickname | Gets or sets the nickname of the contact. |
|
Notes | Gets or sets a note associated with the contact. |
|
OtherEmail | Gets or sets an additional email address associated with the contact. |
|
PersonalEmail | Gets or sets the personal email address associated with the contact. |
|
Suffix | Gets or sets the suffix of the name of the contact. |
|
TaskEventArgs | The EventArgs for the Completed event. (Inherited from ChooserBase<TTaskEventArgs>.) |
|
Title | Gets or sets the title of the name of the contact. |
|
Website | Gets or sets the website associated with the contact. |
|
WorkAddressCity | Gets or sets the city of the work address associated with the contact. |
|
WorkAddressCountry | Gets or sets the country or region of the work address associated with the contact. |
|
WorkAddressState | Gets or sets the state of the work address associated with the contact. |
|
WorkAddressStreet | Gets or sets the street name and number of the work address associated with the contact. |
|
WorkAddressZipCode | Gets or sets the postal code of the work address associated with the contact. |
|
WorkEmail | Gets or sets the work email address associated with the contact. |
|
WorkPhone | Gets or sets the work phone number associated with the contact. |
| Name | Description | |
|---|---|---|
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
FireCompleted | Raises the Completed event. (Inherited from ChooserBase<TTaskEventArgs>.) |
|
GetHashCode | (Inherited from Object.) |
|
GetType | (Inherited from Object.) |
|
MemberwiseClone | (Inherited from Object.) |
|
Show | Launches the contacts application and enables the user to save a contact. (Overrides ChooserBase<TTaskEventArgs>.Show().) |
|
ToString | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
Completed | Occurs when a Chooser task is completed. (Inherited from ChooserBase<TTaskEventArgs>.) |
This task is a Chooser. For more information, see Launchers and Choosers Overview for Windows Phone.