summaryM:DotNetNuke.Web.Mvc.Helpers.DnnLabelExtensions.LabelFor``2(DotNetNuke.Web.Mvc.Helpers.DnnHelper{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}},System.Object)
Namespace: DotNetNuke.Web.Mvc.HelpersAssembly: DotNetNuke.Web.Mvc (in DotNetNuke.Web.Mvc.dll)
Syntax
C# |
---|
public static MvcHtmlString LabelFor<TModel, TValue>( this DnnHelper<TModel> dnnHelper, Expression<Func<TModel, TValue>> expression, Object htmlAttributes ) |
Visual Basic |
---|
<ExtensionAttribute> Public Shared Function LabelFor(Of TModel, TValue) ( dnnHelper As DnnHelper(Of TModel), expression As Expression(Of Func(Of TModel, TValue)), htmlAttributes As Object ) As MvcHtmlString |
Parameters
- dnnHelper
- Type: DotNetNuke.Web.Mvc.Helpers..::..DnnHelper<(Of <(<'TModel>)>)>
paramdnnHelperM:DotNetNuke.Web.Mvc.Helpers.DnnLabelExtensions.LabelFor``2(DotNetNuke.Web.Mvc.Helpers.DnnHelper{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}},System.Object)
- expression
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'TModel, TValue>)>)>>)>)>
paramexpressionM:DotNetNuke.Web.Mvc.Helpers.DnnLabelExtensions.LabelFor``2(DotNetNuke.Web.Mvc.Helpers.DnnHelper{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}},System.Object)
- htmlAttributes
- Type: System..::..Object
paramhtmlAttributesM:DotNetNuke.Web.Mvc.Helpers.DnnLabelExtensions.LabelFor``2(DotNetNuke.Web.Mvc.Helpers.DnnHelper{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}},System.Object)
Type Parameters
- TModel
- typeparamTModelM:DotNetNuke.Web.Mvc.Helpers.DnnLabelExtensions.LabelFor``2(DotNetNuke.Web.Mvc.Helpers.DnnHelper{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}},System.Object)
- TValue
- typeparamTValueM:DotNetNuke.Web.Mvc.Helpers.DnnLabelExtensions.LabelFor``2(DotNetNuke.Web.Mvc.Helpers.DnnHelper{``0},System.Linq.Expressions.Expression{System.Func{``0,``1}},System.Object)