IStringLocalizerProvider.GetLocalizedString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the localized string.
public:
System::String ^ GetLocalizedString(System::Globalization::CultureInfo ^ culture, System::String ^ name, ... cli::array <System::Object ^> ^ arguments);
public string GetLocalizedString (System.Globalization.CultureInfo culture, string name, params object[] arguments);
abstract member GetLocalizedString : System.Globalization.CultureInfo * string * obj[] -> string
Public Function GetLocalizedString (culture As CultureInfo, name As String, ParamArray arguments As Object()) As String
Parameters
- culture
- CultureInfo
The culture.
- name
- String
The key to the localized string.
- arguments
- Object[]
Parameters to pass to the localized string.
Returns
The localized string.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.