ModelBindingResult.Success(Object) 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.
Creates a ModelBindingResult representing a successful model binding operation.
public:
static Microsoft::AspNetCore::Mvc::ModelBinding::ModelBindingResult Success(System::Object ^ model);
public static Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult Success (object model);
public static Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult Success (object? model);
static member Success : obj -> Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult
Public Shared Function Success (model As Object) As ModelBindingResult
Parameters
- model
- Object
The model value. May be null.
Returns
A ModelBindingResult representing a successful model bind.