CachedDataAnnotationsMetadataAttributes Class
Provides a container to cache System.ComponentModel.DataAnnotations attributes.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
The CachedDataAnnotationsMetadataAttributes type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CachedDataAnnotationsMetadataAttributes | Initializes a new instance of the CachedDataAnnotationsMetadataAttributes class. |
| Name | Description | |
|---|---|---|
![]() | DataType | Gets the data type. |
![]() | Display | Gets the display. |
![]() | DisplayColumn | Gets the display column. |
![]() | DisplayFormat | Gets the display format. |
![]() | DisplayName | Gets the display name. |
![]() | Editable | Indicates whether a data field is editable. |
![]() | HiddenInput | Gets the hidden input. |
![]() | ReadOnly | Indicates whether a data field is read only. |
![]() | Required | Indicates whether a data field is required. |
![]() | ScaffoldColumn | Indicates whether a data field is scaffold. |
![]() | UIHint | Gets the UI hint. |
The HiddenInputAttribute attribute cannot be cached.
Show:
.gif?cs-save-lang=1&cs-lang=vb)
.gif?cs-save-lang=1&cs-lang=vb)
.gif?cs-save-lang=1&cs-lang=vb)