FMX.AddressBook.Types.TContactSocialProfiles.Create

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

C++

/* {System_Generics_Collections}TObjectList<FMX_AddressBook_Types_TContactSocialProfile>.Create */ inline __fastcall TContactSocialProfiles()/* overload */ : System::Generics::Collections::TObjectList__1<TContactSocialProfile*>() { }
/* {System_Generics_Collections}TObjectList<FMX_AddressBook_Types_TContactSocialProfile>.Create */ inline __fastcall TContactSocialProfiles(bool AOwnsObjects)/* overload */ : System::Generics::Collections::TObjectList__1<TContactSocialProfile*>(AOwnsObjects) { }
/* {System_Generics_Collections}TObjectList<FMX_AddressBook_Types_TContactSocialProfile>.Create */ inline __fastcall TContactSocialProfiles(const System::DelphiInterface<System::Generics::Defaults::IComparer__1<TContactSocialProfile*> > AComparer, bool AOwnsObjects)/* overload */ : System::Generics::Collections::TObjectList__1<TContactSocialProfile*>(AComparer, AOwnsObjects) { }
/* {System_Generics_Collections}TObjectList<FMX_AddressBook_Types_TContactSocialProfile>.Create */ inline __fastcall TContactSocialProfiles(System::Generics::Collections::TEnumerable__1<TContactSocialProfile*>* const Collection, bool AOwnsObjects)/* overload */ : System::Generics::Collections::TObjectList__1<TContactSocialProfile*>(Collection, AOwnsObjects) { }
/* {System_Generics_Collections}TList<FMX_AddressBook_Types_TContactSocialProfile>.Create */ inline __fastcall TContactSocialProfiles(const System::DelphiInterface<System::Generics::Defaults::IComparer__1<TContactSocialProfile*> > AComparer)/* overload */ : System::Generics::Collections::TObjectList__1<TContactSocialProfile*>(AComparer) { }
/* {System_Generics_Collections}TList<FMX_AddressBook_Types_TContactSocialProfile>.Create */ inline __fastcall TContactSocialProfiles(System::Generics::Collections::TEnumerable__1<TContactSocialProfile*>* const Collection)/* overload */ : System::Generics::Collections::TObjectList__1<TContactSocialProfile*>(Collection) { }
/* {System_Generics_Collections}TList<FMX_AddressBook_Types_TContactSocialProfile>.Create */ inline __fastcall TContactSocialProfiles(TContactSocialProfile* const *Values, const int Values_High)/* overload */ : System::Generics::Collections::TObjectList__1<TContactSocialProfile*>(Values, Values_High) { }

Eigenschaften

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


Beschreibung

Erzeugt eine TObjectList-Instanz.

FMX.AddressBook.Types.TContactSocialProfiles.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