Share via


CachedDataAnnotationsMetadataAttributes.Display Property

Gets or sets the metadata display attribute.

Namespace:  System.Web.Http.Metadata.Providers
Assembly:  System.Web.Http (in System.Web.Http.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 metadata display attribute.

See Also

Reference

CachedDataAnnotationsMetadataAttributes Class

System.Web.Http.Metadata.Providers Namespace