Share via


CachedModelMetadata<TPrototypeCache>.ComputeShowForEdit 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 should be displayed in editable views.

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

Syntax

'Declaration
Protected Overridable Function ComputeShowForEdit As Boolean
'Usage
Dim returnValue As Boolean 

returnValue = Me.ComputeShowForEdit()
protected virtual bool ComputeShowForEdit()
protected:
virtual bool ComputeShowForEdit()
abstract ComputeShowForEdit : unit -> bool  
override ComputeShowForEdit : unit -> bool
protected function ComputeShowForEdit() : boolean

Return Value

Type: System.Boolean
A cached value that indicates whether the model should be displayed in editable views.

See Also

Reference

CachedModelMetadata<TPrototypeCache> Class

System.Web.Mvc Namespace