Skip to main content

DataAccessLocalizer.GetString(DataAccessStringId) Method

Returns a localized string for the given string identifier.

Namespace: DevExpress.DataAccess.Localization

Assembly: DevExpress.DataAccess.v23.2.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public static string GetString(
    DataAccessStringId id
)

Parameters

Name Type Description
id DataAccessStringId

A DataAccessStringId enumeration value, identifying the string to localize.

Returns

Type Description
String

A String value, corresponding to the specified identifier.

Remarks

The Query Builder and Report Wizard support localization, so that you can substitute the default strings displayed within context menus with your own equivalents (e.g., in your native language). Items that can be localized are listed in the DataAccessStringId enumeration.

To localize the default resources of a Data Access application, override the GetString method in a DataAccessLocalizer class descendant.

For more information, refer to Localization.

See Also