Share via


CachedModelMetadata<TPrototypeCache>.EditFormatString Property

Gets or sets the edit format string of the model.

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

Syntax

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

value = instance.EditFormatString

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

Property Value

Type: System.String
The edit format string of the model.

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