Dela via


DefaultModelBindingContext.Result Property

Definition

Gets or sets a ModelBindingResult which represents the result of the model binding process.

Before an IModelBinder is called, Result will be set to a value indicating failure. The binder should set Result to a value created with Success(Object) if model binding succeeded.

public:
 virtual property Microsoft::AspNetCore::Mvc::ModelBinding::ModelBindingResult Result { Microsoft::AspNetCore::Mvc::ModelBinding::ModelBindingResult get(); void set(Microsoft::AspNetCore::Mvc::ModelBinding::ModelBindingResult value); };
public override Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult Result { get; set; }
member this.Result : Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult with get, set
Public Overrides Property Result As ModelBindingResult

Property Value

Applies to