Autor Beitrag
michaelarban
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34



BeitragVerfasst: Mi 17.06.09 21:16 
hallo Leute,

Kann mir jemand ein ganz simples Beispiel zu IInterfaceList zeigen, so dass man ihre Funktionsweise versteht.

Wäre echt toll.

dankeee
michaelarban Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34



BeitragVerfasst: Fr 19.06.09 10:06 
hat den keiner ein beispiel?
delfiphan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2684
Erhaltene Danke: 32



BeitragVerfasst: Fr 19.06.09 22:16 
user profile iconmichaelarban hat folgendes geschrieben Zum zitierten Posting springen:
hat den keiner ein beispiel?

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
var
  List: IInterfaceList;
begin
  List := TInterfaceList.Create;
  List.Add(nil);
  List.Delete(0);
end;
michaelarban Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 34



BeitragVerfasst: Mo 22.06.09 19:07 
hallo,

danke für das Beispiel;

aber wofür braucht man das? nimmt diese Liste nur Interfaces auf, oder jedes Objekt?

bye
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19335
Erhaltene Danke: 1751

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Di 23.06.09 08:32 
Das ist nur für Interfaces gedacht, deshalb heißt die Klasse ja so. Für normale Objekte gibt es ja TList und TObjectList usw.