SnapLocalizer.GetString(SnapStringId) Method

Returns a localized string for the given string identifier.

Namespace: DevExpress.Snap.Localization

Assembly: DevExpress.Snap.v20.1.Core.dll

Declaration

public static string GetString(
    SnapStringId id
)
Public Shared Function GetString(
    id As SnapStringId
) As String

Parameters

Name Type Description
id SnapStringId

A SnapExtensionsStringId enumeration value, identifying the string to localize.

Returns

Type Description
String

A String value, corresponding to the specified identifier.

Remarks

A Snap application supports localization, so that you can substitute its default strings with custom equivalents (e.g., in your native language). Items that can be localized are listed in the SnapStringId enumeration.

To localize the default resources of a Snap application, override the GetString method in a SnapLocalizer class descendant.

For more information, refer to Localization.

See Also