Back to Devexpress

LocalizerExtensions.GetString(ILocalizer, String) Method

maui-devexpress-dot-maui-dot-mvvm-dot-localizerextensions-dot-getstring-x28-devexpress-dot-maui-dot-mvvm-dot-ilocalizer-system-dot-string-x29.md

latest1.1 KB
Original Source

LocalizerExtensions.GetString(ILocalizer, String) Method

Gets the localized string based on the specified key from the ILocalizer service.

Namespace : DevExpress.Maui.Mvvm

Assembly : DevExpress.Maui.Mvvm.dll

NuGet Package : DevExpress.Maui.Mvvm

Declaration

csharp
public static string GetString(
    this ILocalizer service,
    string key
)

Parameters

NameTypeDescription
serviceILocalizer

The localization service.

| | key | String |

The localization key.

|

Returns

TypeDescription
String

The localized string.

|

See Also

LocalizerExtensions Class

LocalizerExtensions Members

DevExpress.Maui.Mvvm Namespace