Returns the value of the specified string resource.
A String that contains the value of the resource localized for the current culture.
The returned resource is localized for the cultural settings of the current Thread.
Note The GetString
method is thread-safe.
The following example demonstrates the GetString
method using the cultural settings of the current Thread.
string localizedString = ResourceUtils.GetString("String_HelloWorld");
ResourceUtils Class | NAnt.Core.Util Namespace | ResourceUtils.GetString Overload List