Delen via


ModelBindingResult.Success(Object) Method

Definition

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.

Applies to