The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

CollectionSourceBase.Add(Object) Method

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public virtual void Add(
    object obj
)
Public Overridable Sub Add(
    obj As Object
)
public virtual void Add(
    object obj
)
Public Overridable Sub Add(
    obj As Object
)
public virtual void Add(
    object obj
)
Public Overridable Sub Add(
    obj As Object
)

Parameters

Name Type Description
obj Object

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

Parameters

Name Type Description
obj Object

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

Parameters

Name Type Description
obj Object

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

Remarks

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.

When implementing a custom Collection Source, override this method to add the specified object to the Collection Source's collection.

See Also