Method that creates a new ModelState. The newly created ModelState is returned.
Name | Type | Description |
Name | String | Optional input String that specifies the name of the new ModelState. If not specified a default name will be used. This is an optional argument whose default value is "". |
Name | Description |
Create a model state | This sample demonstrates creation of a model state in an assembly. |