DataAnnotationsModelValidator.GetLocalizedString(String, Object[]) 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 a localized version for a specific string.
protected:
System::String ^ GetLocalizedString(System::String ^ name, ... cli::array <System::Object ^> ^ arguments);
protected string GetLocalizedString (string name, params object[] arguments);
member this.GetLocalizedString : string * obj[] -> string
Protected Function GetLocalizedString (name As String, ParamArray arguments As Object()) As String
Parameters
- name
- String
The string to localize.
- arguments
- Object[]
An array of arguments.
Returns
The localized version of the 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.