Warning
|
Deprecated since Delphi XE4. Please use the RSInterfaceCollections|TInterfaceListPersistent class instead.
|
The TGInterfaceList class manages a list of interfaces. The TGInterfaceList class provides a "different" TInterfaceList. TInterfaceList uses a TThreadList as its internal storage (causing overhead) and it used to pass interfaces by value (causing AddRef/Release overhead).
Like any list, it provides properties and methods to:
• Add or delete the objects in the list.
• Rearrange the objects in the list.
• Locate and access objects in the list.
• Sort the objects in the list.
Namespace: InterfaceCollections
Delphi
|
type
TGInterfaceList = class(TPersistent)
end;
|
|
Name
|
Description
|

|
Capacity
|
Represents property Capacity.
|

|
Count
|
Represents property Count.
|

|
Items[Integer]
|
Represents property Items[Integer].
|

|
List
|
Represents property List.
|
Top
|
|
Name
|
Description
|

|
Add(IInterface)
|
Represents method Add(IInterface).
|

|
Assign(TPersistent)
|
Represents method Assign(TPersistent).
|

|
Clear
|
Represents method Clear.
|

|
Delete(Integer)
|
Represents method Delete(Integer).
|
 
|
Error(string,Integer)
|
Overloaded. Represents method Error(string,Integer).
|

|
Exchange(Integer,Integer)
|
Represents method Exchange(Integer,Integer).
|

|
Expand
|
Represents method Expand.
|

|
First
|
Represents method First.
|

|
Get(Integer)
|
Represents method Get(Integer).
|

|
GetEnumerator
|
Represents method GetEnumerator.
|

|
Grow
|
Represents method Grow.
|

|
IndexOf(IInterface)
|
Represents method IndexOf(IInterface).
|

|
Insert(Integer,IInterface)
|
Represents method Insert(Integer,IInterface).
|

|
Last
|
Represents method Last.
|

|
Move(Integer,Integer)
|
Represents method Move(Integer,Integer).
|

|
Notify(IInterface,TListNotification)
|
Represents method Notify(IInterface,TListNotification).
|

|
Pack
|
Represents method Pack.
|

|
Put(Integer,IInterface)
|
Represents method Put(Integer,IInterface).
|

|
QueryInterface(TGUID,Void)
|
Represents method QueryInterface(TGUID,Void).
|

|
Remove(IInterface)
|
Represents method Remove(IInterface).
|

|
SetCapacity(Integer)
|
Represents method SetCapacity(Integer).
|

|
SetCount(Integer)
|
Represents method SetCount(Integer).
|

|
Sort(TListSortCompare2)
|
Represents method Sort(TListSortCompare2).
|

|
_AddRef
|
Represents method _AddRef.
|

|
_Release
|
Represents method _Release.
|
Top
|