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.v24.2.dll

NuGet Package: DevExpress.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