Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

CollectionSourceBase.Dispose() Method

Releases all the resources allocated by the current Collection Source.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

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