Share via


LabelExtensions.Label Method

Include Protected Members
Include Inherited Members

Returns an HTML label element and the property name of the property that is represented by the specified expression.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member Label(HtmlHelper, String) Returns an HTML label element and the property name of the property that is represented by the specified expression.
Public methodStatic member Label(HtmlHelper, String, String) Returns an HTML label element and the property name of the property that is represented by the specified expression using the label text.

Top

See Also

Reference

LabelExtensions Class

System.Web.Mvc.Html Namespace