共用方式為


ContactListLimitedWriteOperations.TryDeleteContactAsync(String) 方法

定義

以非同步方式嘗試刪除連絡人。

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)

參數

contactId
String

Platform::String

winrt::hstring

要刪除之連絡人的識別碼。

傳回

布林值,指出作業是否成功。

屬性

Windows 需求

應用程式功能
contactsSystem

適用於