FMX.AddressBook.Types.TContactMessagingService.Create

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

constructor Create; overload;
constructor Create(const ALabel: string; const AServiceName, AUserName: string); overload;
constructor Create(const ALabelKind: TLabelKind; const AServiceName, AUserName: string); overload;
constructor Create(const ALabel: string; const AServiceKind: TServiceKind; const AUserName: string); overload;
constructor Create(const ALabelKind: TLabelKind; const AServiceKind: TServiceKind; const AUserName: string); overload;

C++

__fastcall TContactMessagingService()/* overload */;
__fastcall TContactMessagingService(const System::UnicodeString ALabel, const System::UnicodeString AServiceName, const System::UnicodeString AUserName)/* overload */;
__fastcall TContactMessagingService(const TLabelKind ALabelKind, const System::UnicodeString AServiceName, const System::UnicodeString AUserName)/* overload */;
__fastcall TContactMessagingService(const System::UnicodeString ALabel, const TServiceKind AServiceKind, const System::UnicodeString AUserName)/* overload */;
__fastcall TContactMessagingService(const TLabelKind ALabelKind, const TServiceKind AServiceKind, const System::UnicodeString AUserName)/* overload */;

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
constructor public
FMX.AddressBook.Types.pas
FMX.AddressBook.Types.hpp
FMX.AddressBook.Types TContactMessagingService


Beschreibung

Erzeugt ein Objekt und initialisert dessen Daten.

FMX.AddressBook.Types.TContactMessagingService.Create erbt von System.TObject.Create. Der folgende Inhalt bezieht sich auf System.TObject.Create.

Erzeugt ein Objekt und initialisert dessen Daten.

Create erstellt ein Objekt. Der Zweck, die Größe und das Verhalten von Objekten ist sehr unterschiedlich. Der von TObject definierte Konstruktor Create weist Speicher zu, initialisiert aber keine Daten.

Abgeleitete Objekte definieren normalerweise einen Konstruktor, der bei der Erzeugung eines bestimmten Objekttyps die Daten in geeigneter Weise initialisiert.

Anmerkung:  Wenn ein Konstruktor eine Exception nicht behandelt, wird der Destruktor des Objekts aufgerufen, um die fehlerhafte Instanz zu beseitigen.

Siehe auch