GetUnobtrusiveValidationAttributes Method (String)
Collapse the table of content
Expand the table of content

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 IDictionary<string, Object> GetUnobtrusiveValidationAttributes(
	string name
)

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:
© 2016 Microsoft