CachedModelMetadata<TPrototypeCache>::ComputeIsRequired Method ()

 

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.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

protected:
virtual bool ComputeIsRequired()

Return Value

Type: System::Boolean

A cached value that indicates whether the model is required.

Return to top
Show: