CachedModelMetadata<TPrototypeCache>.IsRequired Property

Definition

Gets or sets a value that indicates whether the model is required.

public override sealed bool IsRequired { get; set; }
member this.IsRequired : bool with get, set
Public Overrides NotOverridable Property IsRequired As Boolean

Property Value

A value that indicates whether the model is required.

Applies to