Share via


CachedModelMetadata<TPrototypeCache>.PrototypeCache Property

Gets or sets the prototype cache.

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

Syntax

'Declaration
Protected Property PrototypeCache As TPrototypeCache
    Get 
    Set
'Usage
Dim value As TPrototypeCache

value = Me.PrototypeCache 

Me.PrototypeCache = value
protected TPrototypeCache PrototypeCache { get; set; }
protected:
property TPrototypeCache PrototypeCache {
    TPrototypeCache get ();
    void set (TPrototypeCache value);
}
member PrototypeCache : 'TPrototypeCache with get, set
function get PrototypeCache () : TPrototypeCache
function set PrototypeCache (value : TPrototypeCache)

Property Value

Type: TPrototypeCache
The prototype cache.

Remarks

The getter returns the cached value if it is cached. If the value is not cached, it is put into the cache and returned.

See Also

Reference

CachedModelMetadata<TPrototypeCache> Class

System.Web.Mvc Namespace