Share via


ModelStateDictionary.MarkFieldValid(String) Method

Definition

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.

Applies to