.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

CollectionSourceBase.Dispose() Method

Releases all the resources allocated by the current Collection Source.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v21.1.dll


public virtual void Dispose()


When deriving from the CollectionSourceBase class, override this method to dispose of the manually allocated resources.

This method supports the internal XAF infrastructure, and is not intended to be called from your code. When a Frame‘s View is changed via the Frame.SetView method, the View‘s Collection Source is automatically disposed of.

See Also