HtmlHelperExtensions..::..EditorForManyIndexField<(Of <(<'TModel>)>)> Method

Editors for many index field.

Namespace:  MichaelBrandonMorris.Extensions.WebExtensions
Assembly:  MichaelBrandonMorris.Extensions.WebExtensions (in MichaelBrandonMorris.Extensions.WebExtensions.dll)

Syntax


public static MvcHtmlString EditorForManyIndexField<TModel>(
	HtmlHelper<TModel> html,
	Expression<Func<TModel, string>> indexResolverExpression
)
Public Shared Function EditorForManyIndexField(Of TModel) ( _
	html As HtmlHelper(Of TModel), _
	indexResolverExpression As Expression(Of Func(Of TModel, String)) _
) As MvcHtmlString
public:
generic<typename TModel>
static MvcHtmlString^ EditorForManyIndexField(
	HtmlHelper<TModel>^ html, 
	Expression<Func<TModel, String^>^>^ indexResolverExpression
)

Type Parameters

TModel
The type of the t model.

Parameters

html
Type: HtmlHelper<(Of <(<'TModel>)>)>
The HTML.
indexResolverExpression
Type: Expression<(Of <(<'Func<(Of <(<'TModel, String>)>)>>)>)>
The index resolver expression.

Return Value

MvcHtmlString.

Exceptions


ExceptionCondition
InvalidOperationException EditorForManyIndexField called when not in a EditorForMany context