DesignIntf.IDesignerSelections.Add

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Add(const Item: TPersistent): Integer;

C++

virtual int __fastcall Add(System::Classes::TPersistent* const Item) = 0 ;

Properties

Type Visibility Source Unit Parent
function public
DesignIntf.pas
DesignIntf.hpp
DesignIntf IDesignerSelections

Description

Adds a new object to the end of the list.

Call Add to insert a new object at the end of the Items array. Add returns the index of the new item, where the first item in the list has an index of 0. Add increases the value of Count to reflect the addition of a new object.

See Also