A newer version of this page is available. Switch to the current version.

DXCollectionBase<T>.Add(T) Method

Adds the specified object to the collection.

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v18.2.dll

Declaration

public virtual int Add(
    T value
)
Public Overridable Function Add(
    value As T
) As Integer

Parameters

Name Type Description
value T

A <T> object to append to the collection.

Returns

Type Description
Int32

An integer value indicating the position into which the new element was inserted.

Remarks

This method adds the object to the end of the collection.

See Also