FMX.AddressBook.TCustomAddressBook.RemoveContact

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure RemoveContact(const AContact: TAddressBookContact); overload;
procedure RemoveContact(const AID: Integer); overload;

C++

void __fastcall RemoveContact(TAddressBookContact* const AContact)/* overload */;
void __fastcall RemoveContact(const int AID)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.AddressBook.pas
FMX.AddressBook.hpp
FMX.AddressBook TCustomAddressBook

Description

Removes the specified contact from a device Address Book.

Use this method to remove the specified contact from Address Book. This method is overloaded:

  • The first overloaded method removes a contact by its reference AContact of the TAddressBookContact type.
  • The second overloaded method removes a contact by the contact ID.

For more information and samples, see Mobile Tutorial: Using an Address Book Component (iOS and Android).

See Also