Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CollectionSourceBase.Dispose() Method

In This Article

Releases all the resources allocated by the current Collection Source.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.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