HtmlHelperExtensions.Label Method (HtmlHelper, String)
Namespace: Microsoft.Web.Mvc.Html
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Syntax
public static MvcHtmlString Label(
this HtmlHelper htmlHelper,
string expression
)
public:
[ExtensionAttribute]
static MvcHtmlString^ Label(
HtmlHelper^ htmlHelper,
String^ expression
)
static member Label :
htmlHelper:HtmlHelper *
expression:string -> MvcHtmlString
<ExtensionAttribute>
Public Shared Function Label (
htmlHelper As HtmlHelper,
expression As String
) As MvcHtmlString
Parameters
- htmlHelper
Type: System.Web.Mvc.HtmlHelper
- expression
Type: System.String
Return Value
Type: System.Web.Mvc.MvcHtmlString
See Also
HtmlHelperExtensions Class
Microsoft.Web.Mvc.Html Namespace
Return to top