Share via


CachedModelMetadata<TPrototypeCache>.ComputeWatermark 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 a cached value that can be used as a watermark.

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

Syntax

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

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

Return Value

Type: System.String
A cached value that can be used as a watermark.

See Also

Reference

CachedModelMetadata<TPrototypeCache> Class

System.Web.Mvc Namespace