ContactListLimitedWriteOperations
ContactListLimitedWriteOperations
ContactListLimitedWriteOperations
ContactListLimitedWriteOperations
Class
Definition
Some information relates to pre-released product which may be substantially modified before it’s commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Prerelease APIs are identified by a Prerelease label.
[Contains prerelease APIs.]
Provides operations that an app can perform on a contact list that it has not created.
public : sealed class ContactListLimitedWriteOperations : IContactListLimitedWriteOperationspublic sealed class ContactListLimitedWriteOperations : IContactListLimitedWriteOperationsPublic NotInheritable Class ContactListLimitedWriteOperations Implements IContactListLimitedWriteOperations// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 Insider Preview (introduced v10.0.16257.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v5)
|
Remarks
Get an instance of this class by using the LimitedWriteOperations property of a ContactList.
Methods
TryCreateOrUpdateContactAsync(Contact) TryCreateOrUpdateContactAsync(Contact) TryCreateOrUpdateContactAsync(Contact) TryCreateOrUpdateContactAsync(Contact)
Prerelease. Asynchronously attempts to create or update a contact.
public : IAsyncOperation<PlatForm::Boolean> TryCreateOrUpdateContactAsync(Contact contact)public IAsyncOperation<bool> TryCreateOrUpdateContactAsync(Contact contact)Public Function TryCreateOrUpdateContactAsync(contact As Contact) As IAsyncOperation( Of bool )// You can use this method in JavaScript.
A Boolean value indicating if the operation was successful.
TryDeleteContactAsync(String) TryDeleteContactAsync(String) TryDeleteContactAsync(String) TryDeleteContactAsync(String)
Prerelease. Asynchronously attempts to delete a contact.
public : IAsyncOperation<PlatForm::Boolean> TryDeleteContactAsync(PlatForm::String contactId)public IAsyncOperation<bool> TryDeleteContactAsync(String contactId)Public Function TryDeleteContactAsync(contactId As String) As IAsyncOperation( Of bool )// You can use this method in JavaScript.
- contactId
- PlatForm::String String String String
The ID of the contact to delete.
A Boolean value indicating if the operation was successful.