[]
        
(Showing Draft Content)

FarPoint.Win.Elements.Add

Add Method

Add(object)

Adds an element to the collection and returns its index.

Declaration
public virtual int Add(object e)
Public Overridable Function Add(e As Object) As Integer
Parameters
Type Name Description
object e

Element object

Returns
Type Description
int

The collection index at which the value has been added.

Add(object, bool)

Adds an element to the collection and returns its index.

Declaration
public virtual int Add(object e, bool noClone)
Public Overridable Function Add(e As Object, noClone As Boolean) As Integer
Parameters
Type Name Description
object e

Element object

bool noClone

Whether to add as is, no cloning

Returns
Type Description
int

The collection index at which the value has been added.