ContactListLimitedWriteOperations.TryDeleteContactAsync(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously attempts to delete a contact.
public:
virtual IAsyncOperation<bool> ^ TryDeleteContactAsync(Platform::String ^ contactId) = TryDeleteContactAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> TryDeleteContactAsync(winrt::hstring const& contactId);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> TryDeleteContactAsync(string contactId);
function tryDeleteContactAsync(contactId)
Public Function TryDeleteContactAsync (contactId As String) As IAsyncOperation(Of Boolean)
Parameters
- contactId
-
String
Platform::String
winrt::hstring
The ID of the contact to delete.
Returns
A Boolean value indicating if the operation was successful.
- Attributes
Windows requirements
App capabilities |
contactsSystem
|