Skip to main content
.NET 6.0+

CollectionSourceBase.Dispose() Method

Releases all the resources allocated by the current Collection Source.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.1.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public virtual void Dispose()

Remarks

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