FMX.AddressBook.Types.TContactRelatedNames.AddRelatedName

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function AddRelatedName(const AKind: TContactRelatedName.TLabelKind; const AName: string): TContactRelatedName; overload;
function AddRelatedName(const ALabel: string; const AName: string): TContactRelatedName; overload;

C++

TContactRelatedName* __fastcall AddRelatedName(const TContactRelatedName::TLabelKind AKind, const System::UnicodeString AName)/* overload */;
TContactRelatedName* __fastcall AddRelatedName(const System::UnicodeString ALabel, const System::UnicodeString AName)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
FMX.AddressBook.Types.pas
FMX.AddressBook.Types.hpp
FMX.AddressBook.Types TContactRelatedNames

Description

Adds a name of a related person to a list of the contact related names.

Use this method to add a new entry to a list of the contact related names. The input parameters of this method allows you to specify the following characteristics:

  • AName: specifies the name of a related person, such as John Doe.
  • AKind: in the first overloaded method, this parameter specifies the kind of the contact related person (such as Sister, Brother, Child, and like.
  • Alabel: in the second overloaded method, this parameter specifies an optional text label, such as "Sister," " Brother," and like.

See Also