Share via


ModelBindingContext.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:
 abstract property Microsoft::AspNetCore::Mvc::ModelBinding::ModelBindingResult Result { Microsoft::AspNetCore::Mvc::ModelBinding::ModelBindingResult get(); void set(Microsoft::AspNetCore::Mvc::ModelBinding::ModelBindingResult value); };
public abstract Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult Result { get; set; }
member this.Result : Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult with get, set
Public MustOverride Property Result As ModelBindingResult

Property Value

Applies to