TccObjectContainer.Exists
- Former user (Deleted)
- Merve Yurdakul
Owned by Former user (Deleted)
Juni 12, 2017
1 min read
Loading data...
Parameter
(Name : String) : Boolean;
Beschreibung
Über die Methode Exists kann das Vorhandensein eines Objekts im Conatiner geprüft werden.
Beispiel
ObjContainer := TccObjectContainer.Create; try MyObject := ObjContainer.AddDataObject('MyExampleObject'); if ObjContainer.Exists('MyExampleObject') = true then ShowMessage('vorhanden'); finally ObjContainer.Free; end;