Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Contains the result of model binding.
public value class ModelBindingResult : IEquatable<Microsoft::AspNetCore::Mvc::ModelBinding::ModelBindingResult>
public struct ModelBindingResult : IEquatable<Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult>
public readonly struct ModelBindingResult : IEquatable<Microsoft.AspNetCore.Mvc.ModelBinding.ModelBindingResult>
type ModelBindingResult = struct
Public Structure ModelBindingResult
Implements IEquatable(Of ModelBindingResult)
Is |
Gets a value indicating whether or not the Model value has been set.
This property can be used to distinguish between a model binder which does not find a value and
the case where a model binder sets the |
Model |
Gets the model associated with this context. |
Equals(Model |
Indicates whether the current object is equal to another object of the same type. |
Equals(Object) | Indicates whether this instance and a specified object are equal. |
Failed() |
Creates a ModelBindingResult representing a failed model binding operation. |
Get |
Returns the hash code for this instance. |
Success(Object) |
Creates a ModelBindingResult representing a successful model binding operation. |
To |
Returns the fully qualified type name of this instance. |
Equality(Model |
Compares ModelBindingResult objects for equality. |
Inequality(Model |
Compares ModelBindingResult objects for inequality. |
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in