All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

LocalizationItemCollection.SaveLocalization(IEnumerable<Object>, String, Boolean) Method

Updates collection items related to the specified reporting components (controls) and the specified culture. Removes unnecessary items.

Namespace: DevExpress.XtraReports.Localization

Assembly: DevExpress.XtraReports.v21.1.dll

Declaration

public void SaveLocalization(
    IEnumerable<object> localizableComponents,
    string culture,
    bool collectGarbage = false
)

Parameters

Name Type Description
localizableComponents IEnumerable<Object>

A list of reporting components (controls) whose related localization items should be in the collection.

culture String

A string that is the name of the culture.

Optional Parameters

Name Type Default Description
collectGarbage Boolean

False

True to remove unnecessary localization items; otherwise, false.

Remarks

The method removes all localization items whose reporting component (control) is not specified in the list passed as a parameter. The method updates collection items with new values or creates and adds localization items if they are not found in the collection.

See Also