Share via


CachedModelMetadata<TPrototypeCache>.ComputeEditFormatString 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 edit format string of the model.

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

Syntax

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

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

Return Value

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

See Also

Reference

CachedModelMetadata<TPrototypeCache> Class

System.Web.Mvc Namespace