HtmlHelperExtensions..::..EditorForMany<(Of <(<'TModel, TValue>)>)> Method

Editors for many.

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

Syntax


public static MvcHtmlString EditorForMany<TModel, TValue>(
	HtmlHelper<TModel> html,
	Expression<Func<TModel, IEnumerable<TValue>>> propertyExpression,
	Expression<Func<TValue, string>> indexResolverExpression,
	bool includeIndexField
)
Public Shared Function EditorForMany(Of TModel, TValue) ( _
	html As HtmlHelper(Of TModel), _
	propertyExpression As Expression(Of Func(Of TModel, IEnumerable(Of TValue))), _
	indexResolverExpression As Expression(Of Func(Of TValue, String)), _
	includeIndexField As Boolean _
) As MvcHtmlString
public:
generic<typename TModel, typename TValue>
static MvcHtmlString^ EditorForMany(
	HtmlHelper<TModel>^ html, 
	Expression<Func<TModel, IEnumerable<TValue>^>^>^ propertyExpression, 
	Expression<Func<TValue, String^>^>^ indexResolverExpression, 
	bool^ includeIndexField
)

Type Parameters

TModel
The type of the t model.
TValue
The type of the t value.

Parameters

html
Type: HtmlHelper<(Of <(<'TModel>)>)>
The HTML.
propertyExpression
Type: Expression<(Of <(<'Func<(Of <(<'TModel, IEnumerable<(Of <(<'TValue>)>)>>)>)>>)>)>
The property expression.
indexResolverExpression
Type: Expression<(Of <(<'Func<(Of <(<'TValue, String>)>)>>)>)>
The index resolver expression.
includeIndexField
Type: Boolean
if set to true [include index field].

Return Value

MvcHtmlString.

Exceptions


ExceptionCondition
Exception