FMX.AddressBook.Types.TContactMessagingServices.Create

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

C++

/* {System_Generics_Collections}TObjectList<FMX_AddressBook_Types_TContactMessagingService>.Create */ inline __fastcall TContactMessagingServices(bool AOwnsObjects)/* overload */ : System::Generics::Collections::TObjectList__1<TContactMessagingService*>(AOwnsObjects) { }
/* {System_Generics_Collections}TObjectList<FMX_AddressBook_Types_TContactMessagingService>.Create */ inline __fastcall TContactMessagingServices(const System::DelphiInterface<System::Generics::Defaults::IComparer__1<TContactMessagingService*> > AComparer, bool AOwnsObjects)/* overload */ : System::Generics::Collections::TObjectList__1<TContactMessagingService*>(AComparer, AOwnsObjects) { }
/* {System_Generics_Collections}TObjectList<FMX_AddressBook_Types_TContactMessagingService>.Create */ inline __fastcall TContactMessagingServices(System::Generics::Collections::TEnumerable__1<TContactMessagingService*>* const Collection, bool AOwnsObjects)/* overload */ : System::Generics::Collections::TObjectList__1<TContactMessagingService*>(Collection, AOwnsObjects) { }
/* {System_Generics_Collections}TList<FMX_AddressBook_Types_TContactMessagingService>.Create */ inline __fastcall TContactMessagingServices()/* overload */ : System::Generics::Collections::TObjectList__1<TContactMessagingService*>() { }
/* {System_Generics_Collections}TList<FMX_AddressBook_Types_TContactMessagingService>.Create */ inline __fastcall TContactMessagingServices(const System::DelphiInterface<System::Generics::Defaults::IComparer__1<TContactMessagingService*> > AComparer)/* overload */ : System::Generics::Collections::TObjectList__1<TContactMessagingService*>(AComparer) { }
/* {System_Generics_Collections}TList<FMX_AddressBook_Types_TContactMessagingService>.Create */ inline __fastcall TContactMessagingServices(System::Generics::Collections::TEnumerable__1<TContactMessagingService*>* const Collection)/* overload */ : System::Generics::Collections::TObjectList__1<TContactMessagingService*>(Collection) { }

Eigenschaften

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


Beschreibung

Erzeugt eine TObjectList-Instanz.

FMX.AddressBook.Types.TContactMessagingServices.Create erbt von System.Generics.Collections.TObjectList.Create. Der folgende Inhalt bezieht sich auf System.Generics.Collections.TObjectList.Create.

Erzeugt eine TObjectList-Instanz.

Diese überladene Methode erstellt eine TObjectList-Instanz.

Der Parameter AOwnsObjects ist ein boolescher Wert, der angibt, ob die Liste Eigentümer der Objekteinträge ist. Wenn die Liste zum Zeitpunkt des Entfernens des Eintrags aus der Liste der Eigentümer des Objekts ist, wird das Objekt freigegeben. Die Eigenschaft OwnsObjects wird anhand des Wertes dieses Parameters gesetzt. Der Vorgabewert ist true.

Collection ist eine Kollektion, mit der die Liste initialisiert werden soll. Die Objekte werden in derselben Reihenfolge wie in Collection hinzugefügt. Wenn Collection angegeben ist, ist Create eine O(n)-Operation, wobei n die Anzahl der Einträge in Collection ist.

AComparer ist eine Funktion zum Prüfen auf Gleichheit. Wird sie nicht bereitgestellt, wird die Standardvergleichsfunktion für den Typ verwendet.

Siehe auch