System.Classes.TStrings.ContainsObject

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ContainsObject(const AObject: TObject): Boolean; inline;

C++

bool __fastcall ContainsObject(System::TObject* const AObject);

Properties

Type Visibility Source Unit Parent
function public
System.Classes.pas
System.Classes.hpp
System.Classes TStrings

Description

Checks whether a specified object reference exists in the Objects[] array of the string list.

Returns True if the object is associated with any string in the list.

See Also