Data.DB.TFields.Remove

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TFields

Delphi

procedure Remove(Field: TField);

C++

void __fastcall Remove(TField* Field);

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