This method is protected and therefore cannot be called directly. This method was designed to be overridden in a deriving class such as CachedDataAnnotationsModelMetadata.
Gets or sets a cached value that indicates whether the model is required.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Protected Overridable Function ComputeIsRequired As Boolean 'Usage Dim returnValue As Boolean returnValue = Me.ComputeIsRequired()
protected virtual bool ComputeIsRequired()
protected: virtual bool ComputeIsRequired()
abstract ComputeIsRequired : unit -> bool override ComputeIsRequired : unit -> bool
protected function ComputeIsRequired() : boolean
A cached value that indicates whether the model is required.