Data.DB.TFields.Remove

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Remove(Field: TField);

C++

void __fastcall Remove(TField* Field);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Data.DB.pas
Data.DB.hpp
Data.DB TFields

Description

Deletes the reference to the Field parameter from the Fields array.

Applications do not normally call the Remove method directly. After a field is removed, all of the items that follow it are moved up in index position and the Count is reduced by one.

Note: Unlike the Clear method, which frees the field components when it removes them, Remove does not free the specified field component.

See Also