BootstrapMvcHelpers.Bootstrap.Label C# (CSharp) Метод

Label() публичный статический Метод

Renders a Twitter Bootstrap label component
public static Label ( this helper, string text, BootstrapStatus status, object htmlAttributes ) : System.Web.Mvc.MvcHtmlString
helper this The html helper.
text string The text.
status BootstrapStatus The label status.
htmlAttributes object The HTML attributes.
Результат System.Web.Mvc.MvcHtmlString
        public static MvcHtmlString Label(this HtmlHelper helper, string text, BootstrapStatus status, object htmlAttributes)
        {
            LabelHelper labelHelper = new LabelHelper(GetStatusStrategy(status), text, status, htmlAttributes);
            return new MvcHtmlString(labelHelper.Render());
        }