Share via


ContactPickerUI.RemoveContact(String) メソッド

定義

連絡先を削除します。

public:
 virtual void RemoveContact(Platform::String ^ id) = RemoveContact;
void RemoveContact(winrt::hstring const& id);
public void RemoveContact(string id);
function removeContact(id)
Public Sub RemoveContact (id As String)

パラメーター

id
String

Platform::String

winrt::hstring

削除する連絡先の ID。

Windows の要件

アプリの機能
contactsSystem

注釈

注意

RemoveContact を呼び出すときは、 Contact.Id プロパティを設定する必要があります。 Contact.Id が設定されていない場合、アプリは連絡先を削除できません。

適用対象

こちらもご覧ください