CachedModelMetadata<TPrototypeCache>.ComputeHideSurroundingHtml Method

Definition

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.

protected virtual bool ComputeHideSurroundingHtml ();
abstract member ComputeHideSurroundingHtml : unit -> bool
override this.ComputeHideSurroundingHtml : unit -> bool
Protected Overridable Function ComputeHideSurroundingHtml () As Boolean

Returns

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

Applies to