Share via


CachedModelMetadata<TPrototypeCache>.ComputeDescription 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 the description of the model.

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

Syntax

'Declaration
Protected Overridable Function ComputeDescription As String
'Usage
Dim returnValue As String 

returnValue = Me.ComputeDescription()
protected virtual string ComputeDescription()
protected:
virtual String^ ComputeDescription()
abstract ComputeDescription : unit -> string  
override ComputeDescription : unit -> string
protected function ComputeDescription() : String

Return Value

Type: System.String
The description of the model.

See Also

Reference

CachedModelMetadata<TPrototypeCache> Class

System.Web.Mvc Namespace