Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetUnobtrusiveValidationAttributes Method (String)

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>


Type: System.String

The HTML name attribute.

Return Value

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