Udostępnij za pośrednictwem


FormContext.GetValidationMetadataForField Method

Include Protected Members
Include Inherited Members

Retrieves the validation value for the specified input field.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method GetValidationMetadataForField(String) Retrieves the validation value for the specified input field.
Public method GetValidationMetadataForField(String, Boolean) Retrieves the validation value for the specified input field and a value that indicates what to do if the validation value is not found.

Top

See Also

Reference

FormContext Class

System.Web.Mvc Namespace