FormContext Methods

Include Protected Members
Include Inherited Members

The FormContext type exposes the following members.

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetJsonValidationMetadata Returns a serialized object that contains the form identifier and field-validation values for the form.
Public method GetType (Inherited from Object.)
Public method GetValidationMetadataForField(String) Returns the validation value for the specified input field.
Public method GetValidationMetadataForField(String, Boolean) Returns the validation value for the specified input field and a value that indicates what to do if the validation value is not found.
Protected method MemberwiseClone (Inherited from Object.)
Public method RenderedField(String) Returns a value that indicates whether the specified field has been rendered in the form.
Public method RenderedField(String, Boolean) Sets a value that indicates whether the specified field has been rendered in the form.
Public method ToString (Inherited from Object.)

Top

See Also

Reference

FormContext Class

System.Web.Mvc Namespace