ModelBindingResult.Failed Method

Definition

Creates a ModelBindingResult representing a failed model binding operation.

public:
 static Microsoft::AspNetCore::Mvc::ModelBinding::ModelBindingResult Failed();
public static Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult Failed ();
static member Failed : unit -> Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult
Public Shared Function Failed () As ModelBindingResult

Returns

A ModelBindingResult representing a failed model binding operation.

Applies to