Share via


CachedModelMetadata<TPrototypeCache>.ShortDisplayName Property

Gets or sets a short display name.

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

Syntax

'Declaration
Public Overrides NotOverridable Property ShortDisplayName As String 
    Get 
    Set
'Usage
Dim instance As CachedModelMetadata 
Dim value As String 

value = instance.ShortDisplayName

instance.ShortDisplayName = value
public override sealed string ShortDisplayName { get; set; }
public:
virtual property String^ ShortDisplayName {
    String^ get () override sealed;
    void set (String^ value) override sealed;
}
abstract ShortDisplayName : string with get, set 
override ShortDisplayName : string with get, set
override final function get ShortDisplayName () : String 
override final function set ShortDisplayName (value : String)

Property Value

Type: System.String
The short display name.

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