Skip to main content
A newer version of this page is available. .

LocalizationItemCollection.CollectGarbage(IEnumerable<Object>) Method

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

Namespace: DevExpress.XtraReports.Localization

Assembly: DevExpress.XtraReports.v20.1.dll

NuGet Packages: DevExpress.Reporting.Core, DevExpress.WindowsDesktop.Reporting.Core

Declaration

public void CollectGarbage(
    IEnumerable<object> allowedComponents
)

Parameters

Name Type Description
allowedComponents IEnumerable<Object>

A list of reporting components whose localization items are retained.

Remarks

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

See Also