Share via


CachedDataAnnotationsMetadataAttributes.Display Property

Gets the display.

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

Syntax

'Declaration
Public Property Display As DisplayAttribute 
    Get 
    Protected Set
'Usage
Dim instance As CachedDataAnnotationsMetadataAttributes 
Dim value As DisplayAttribute 

value = instance.Display

instance.Display = value
public DisplayAttribute Display { get; protected set; }
public:
property DisplayAttribute^ Display {
    DisplayAttribute^ get ();
    protected: void set (DisplayAttribute^ value);
}
member Display : DisplayAttribute with get, set
function get Display () : DisplayAttribute 
protected function set Display (value : DisplayAttribute)

Property Value

Type: System.ComponentModel.DataAnnotations.DisplayAttribute
The display.

See Also

Reference

CachedDataAnnotationsMetadataAttributes Class

System.Web.Mvc Namespace