TVecIntList.Add Method

Overload List

#SignatureDescription
1function Add: Integer;Creates and adds a new TVecInt object to the list.
2function Add(const Src: TVecInt): Integer;Creates and adds a new TVecInt object to the list.

Overload 1: function Add: Integer;

Creates and adds a new TVecInt object to the list.

Returns: Int32

Remarks:

The function returns the Index at which the newly created object resides in the list.

Overload 2: function Add(const Src: TVecInt): Integer;

Creates and adds a new TVecInt object to the list.

#NameTypeDescription
1SrcTVecInt

Returns: Int32

Remarks:

The function returns the Index at which the object resides in the list. The object will not be owned (freed by the List), when the list is destroyed if Owned parameter remains false.