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

Displays for.

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

Syntax


public static MvcHtmlString DisplayFor<TModel, TValue>(
	HtmlHelper<TModel> html,
	TValue value
)
Public Shared Function DisplayFor(Of TModel, TValue) ( _
	html As HtmlHelper(Of TModel), _
	value As TValue _
) As MvcHtmlString
public:
generic<typename TModel, typename TValue>
static MvcHtmlString^ DisplayFor(
	HtmlHelper<TModel>^ html, 
	TValue value
)

Type Parameters

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

Parameters

html
Type: HtmlHelper<(Of <(<'TModel>)>)>
The HTML.
value
Type: TValue
The value.

Return Value

MvcHtmlString.