Skip to main content
All docs
V25.1
  • Localizing Your DevExpress-powered .NET App – Your Feedback Matters

    We hope to validate a few hypotheses about our Localization Service, Unified Component Installer, overall localization quality, and ways to translate strings in general.

    Take the survey Not interested

    LocalizationItemCollection.CollectGarbage(IEnumerable<Object>) Method

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

    Namespace: DevExpress.XtraReports.Localization

    Assembly: DevExpress.XtraReports.v25.1.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