ModelStateDictionary.MarkFieldValid(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Marks the ValidationState for the entry with the specified
key
as Valid.
public:
void MarkFieldValid(System::String ^ key);
public void MarkFieldValid (string key);
member this.MarkFieldValid : string -> unit
Public Sub MarkFieldValid (key As String)
Parameters
- key
- String
The key of the ModelStateEntry to mark as valid.