ModelStateAddModelState Method | |
SOWI ModelState errors add into MS web controller ModelState
Namespace:
SOWIWeb.Helper
Assembly:
SOWIWeb.Helper (in SOWIWeb.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax public static ModelStateDictionary AddModelState(
this ModelStateDictionary pModelStateController,
ModelState pModelState
)
<ExtensionAttribute>
Public Shared Function AddModelState (
pModelStateController As ModelStateDictionary,
pModelState As ModelState
) As ModelStateDictionary
Parameters
- pModelStateController
- Type: ModelStateDictionary
MS web controller ModelState object - pModelState
- Type: SOWIData.HelperModelState
SOWI ModelState object
Return Value
Type:
ModelStateDictionary[Missing <returns> documentation for "M:SOWIWeb.Helper.ModelState.AddModelState(System.Web.Mvc.ModelStateDictionary,SOWIData.Helper.ModelState)"]
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
ModelStateDictionary. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also