Share via


CachedDataAnnotationsModelMetadata.ComputeDataTypeName Method

Gets meta information about the data type.

If the value is cached, the cashed value is returned; otherwise the value is retrieved from the model metadata and stored in the cache.

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

Syntax

'Declaration
Protected Overrides Function ComputeDataTypeName As String
'Usage
Dim returnValue As String 

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

Return Value

Type: System.String
Meta information about the data type.

See Also

Reference

CachedDataAnnotationsModelMetadata Class

System.Web.Mvc Namespace