DataAnnotationsModelMetadata.GetSimpleDisplayText Method

Returns simple text for the model data.

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

Syntax

'Declaration
Protected Overrides Function GetSimpleDisplayText As String
protected override string GetSimpleDisplayText()
protected:
virtual String^ GetSimpleDisplayText() override

Return Value

Type: System.String
Simple text for the model data.

See Also

Reference

DataAnnotationsModelMetadata Class

System.Web.Mvc Namespace