BindingMetadata.IsBindingRequired Property

Definition

Gets or sets a value indicating whether or not the request must contain a value for the model. Will be ignored if the model metadata being created does not represent a property. See IsBindingRequired.

C#
public bool IsBindingRequired { get; set; }

Property Value

Applies to

Produkt Verzie
ASP.NET Core 1.0, 1.1, 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0