HtmlHelper.GetUnobtrusiveValidationAttributes Method (String)

Gets the collection of unobtrusive JavaScript validation attributes using the specified HTML name attribute.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public function GetUnobtrusiveValidationAttributes(
	name : String
) : IDictionary<String, Object>

Parameters

name
Type: System.String

The HTML name attribute.

Return Value

Type: System.Collections.Generic.IDictionary(String, Object)
The collection of unobtrusive JavaScript validation attributes.
Show: