API:Soap.SOAPAttachIntf.TSoapDataList.Remove

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Remove(aClass: TClass): Integer; reintroduce;

C++

HIDESBASE int __fastcall Remove(System::TClass aClass);

Properties

Type Visibility Source Unit Parent
function public
Soap.SOAPAttachIntf.pas
Soap.SOAPAttachIntf.hpp
Soap.SOAPAttachIntf TSoapDataList

Description

Remove first occurrence of value.

Soap.SOAPAttachIntf.TSoapDataList.Remove inherits from System.Generics.Collections.TList.Remove. All content below this line refers to System.Generics.Collections.TList.Remove.

Remove first occurrence of value.

Remove removes the first instance of Value in the list, returning its zero-based index. If Value is not in the list, this function returns -1.

Since the search is linear, it is an O(n) operation for a list with n entries.

An OnNotify event occurs indicating an entry was removed from the list.

See Also

Code Examples