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,
params Object[]? args
)<ObsoleteAttribute("Use the LocalizationHelper.GetString method instead")>
Public Shared Function Translate (
text As String,
ParamArray args As Object()
) As Stringpublic:
[ObsoleteAttribute(L"Use the LocalizationHelper.GetString method instead")]
static String^ Translate(
String^ text,
... array<Object^>^ args
)[<ObsoleteAttribute("Use the LocalizationHelper.GetString method instead")>]
static member Translate :
text : string *
args : Object[] -> string