System.Classes.TInterfaceList Methods

From RAD Studio API Documentation
Jump to: navigation, search


InheritedProtected
__MarkDestroying protected
_AddRef protected Implements the IInterface _AddRef method.
_Release protected Implements the IInterface _Release method.
Add public Adds an interface to the list.
AfterConstruction public Responds after the last constructor executes.
BeforeDestruction public Checks that the reference count is zero before allowing the interfaced object to be destroyed.
CheckDisposed protected
ClassInfo public Returns a pointer to the run-time type information (RTTI) table for the object type.
ClassName public Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
ClassNameIs public Determines whether an object is of a specific type.
ClassParent public Returns the type of the immediate ancestor of a class.
ClassType public Returns the class reference for the object's class.
CleanupInstance public Performs finalization on long strings, variants, and interface variables within a class.
Clear public Clears the interface list.
Create public Creates an interface list.
DefaultHandler public Provides the interface for a method that processes message records.
Delete public Deletes an interface from the list.
Destroy public Destroys the interface list.
Dispatch public Calls message-handling methods for the object, based on the contents of the Message parameter.
DisposeOf public DisposeOf forces the execution of the destructor code in an object.
Equals public Checks whether the current instance and the Obj parameter are equal.
Exchange public Swaps the position of two interfaces in the list.
Expand public Increases the capacity of the interface list.
FieldAddress public Returns the address of a published object field.
First public Returns the first interface in the list.
Free public Destroys an object and frees its associated memory, if necessary.
FreeInstance public Deallocates memory allocated by a previous call to the NewInstance method.
Get protected
GetCapacity protected
GetCount protected
GetDisposed protected Getter for the Disposed property.
GetEnumerator public Returns a TInterfaceList enumerator.
GetHashCode public Returns an integer containing the hash code.
GetInterface public Retrieves a specified interface.
GetInterfaceEntry public Returns the entry for a specific interface implemented in a class.
GetInterfaceTable public Returns a pointer to a structure containing all of the interfaces implemented by a given class.
IndexOf public Returns the index of an interface.
IndexOfItem public
InheritsFrom public Determines the relationship of two object types.
InitInstance public Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer.
Insert public Inserts an interface into the list at a specified position.
InstanceSize public Returns the size in bytes of each instance of the object type.
Last public Returns the last interface in the list.
Lock public Prevents other threads from accessing the list.
MethodAddress public Returns the address of a class method by name.
MethodName public Returns the name of a class method by address.
NewInstance public Allocates memory for each instance of an interfaced object.
operator [] public
operator () public
Put protected
QualifiedClassName public Returns the qualified name of the class.
QueryInterface protected Implements the IInterface QueryInterface method.
Remove public Removes an interface from the list.
RemoveItem public
SafeCallException public Handles exceptions in methods declared using the safecall calling convention.
SetCapacity protected
SetCount protected
ToString public Returns a string containing the class name.
UnitName public Returns the name of the unit where the class is defined.
UnitScope public Returns the class's unit scope.
Unlock public Unlocks the list, allowing other threads to access it.


Retrieved from "https://docwiki.embarcadero.com/Libraries/Sydney/e/index.php?title=System.Classes.TInterfaceList_Methods&oldid=275852"