Returns the value of the specified string resource localized for the specified culture.
A String that contains the value of the resource localized for the specified culture.
Note The GetString
method is thread-safe.
The following example demonstrates the GetString
method using a specific culture.
CultureInfo culture = CultureInfo.CreateSpecificCulture("en-US"); string localizedString = ResourceUtils.GetString("String_HelloWorld", culture);
ResourceUtils Class | NAnt.Core.Util Namespace | ResourceUtils.GetString Overload List