System.Web.Mvc.LocalizableWebViewPage.GetString C# (CSharp) Méthode

GetString() public static méthode

@Alias _ and Format

Translates the given text applying string.Format(text, arguments) to the current culture language.

The text and argument values will be HTML Encoded when used in ASP.NET MVC

public static GetString ( string text ) : string
text string The text to be translated
Résultat string
        public static string GetString(string text, params object[] arguments)
        {
            return CultureInfo.CurrentUICulture._(text, arguments);
        }