Sign in Join
FPDoc Onlineexperiment

TMethodList.Remove procedure

Member of TMethodListpublicIn unit LazMethodList

Removes the specified method from the items in the list.

Declaration

pascal
procedure Remove(const AMethod: TMethod)

Arguments

AMethod

Method to remove from the items in the list.

Description

Remove is a procedure used to remove the TMethod instance specified in AMethod from the Items in the list. Remove ensures that memory has been allocated for the list, and calls the IndexOf method to locate the specified method instance in AMethod. When it exists in the Items property, the Delete method is called to delete the method at the required ordinal position.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.