CachedModelMetadata<TPrototypeCache>.ComputeHideSurroundingHtml 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 object should be rendered using associated HTML elements.

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

Syntax

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

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

Return Value

Type: System.Boolean
A cached value that indicates whether the model object should be rendered using associated HTML elements.

See Also

Reference

CachedModelMetadata<TPrototypeCache> Class

System.Web.Mvc Namespace