Skip to main content
.NET 6.0+

CollectionSource.Add(Object) Method

Adds the specified object to the Collection Source’s CollectionSourceBase.Collection.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp


public override void Add(
    object obj


Name Type Description
obj Object

An object that must be added to the Collection Source’s collection.


Generally, you do not have to call this method. If you have instantiated an CollectionSourceBase.ObjectTypeInfo.Type persistent object, and want it to appear in a List View, save it and call the View.Refresh method.

See Also