Export (0) Print
Expand All

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)

'Declaration
Public Function GetUnobtrusiveValidationAttributes ( _
	name As String _
) As IDictionary(Of String, Object)
'Usage
Dim instance As HtmlHelper 
Dim name As String 
Dim returnValue As IDictionary(Of String, Object)

returnValue = instance.GetUnobtrusiveValidationAttributes(name)

Parameters

name
Type: System.String

The HTML name attribute.

Return Value

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