System.Classes.TCollectionItem.SetCollection

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetCollection(Value: TCollection); virtual;

C++

virtual void __fastcall SetCollection(TCollection* Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Classes.pas
System.Classes.hpp
System.Classes TCollectionItem

Description

Sets the value of the Collection property.

SetCollection is the protected write implementation of the Collection property.

Value specifies the collection to which this item should be added.

SetCollection removes this item from the collection to which it currently belongs and adds it to the collection specified by Value.

See Also