Skip to main content

LocalizationItemCollection.CollectGarbage(IEnumerable<Object>) Method

Removes localization items for components not contained in the specified list.

Namespace: DevExpress.XtraReports.Localization

Assembly: DevExpress.XtraReports.v23.2.dll

NuGet Package: DevExpress.Reporting.Core


public void CollectGarbage(
    IEnumerable<object> allowedComponents


Name Type Description
allowedComponents IEnumerable<Object>

A list of reporting components whose localization items are retained.


The method removes all localization items whose reporting component (control) is not listed.

See Also