Udostępnij za pośrednictwem


FormContext.GetJsonValidationMetadata Method

Retrieves a serialized object that contains the form identifier and field-validation values for the form.

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

Syntax

'Declaration
Public Function GetJsonValidationMetadata As String
public string GetJsonValidationMetadata()
public:
String^ GetJsonValidationMetadata()

Return Value

Type: System.String
A serialized object that contains the form identifier and field-validation values for the form.

See Also

Reference

FormContext Class

System.Web.Mvc Namespace