Caution
This method does not translate anything anymore, just removes the possibly existing distinction postfix. Use the
LocalizationHelper.GetString method or the
DynamicResourceManager class instead.
[ObsoleteAttribute("Use the LocalizationHelper.GetString method instead")]
public static string Translate(
string? text
)<ObsoleteAttribute("Use the LocalizationHelper.GetString method instead")>
Public Shared Function Translate (
text As String
) As Stringpublic:
[ObsoleteAttribute(L"Use the LocalizationHelper.GetString method instead")]
static String^ Translate(
String^ text
)[<ObsoleteAttribute("Use the LocalizationHelper.GetString method instead")>]
static member Translate :
text : string -> string