CachedDataAnnotationsMetadataAttributes Class
Provides a container to cache System.ComponentModel.DataAnnotations attributes.
Inheritance Hierarchy
System.Object
System.Web.Mvc.CachedDataAnnotationsMetadataAttributes
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Class CachedDataAnnotationsMetadataAttributes
'Usage
Dim instance As CachedDataAnnotationsMetadataAttributes
public class CachedDataAnnotationsMetadataAttributes
public ref class CachedDataAnnotationsMetadataAttributes
type CachedDataAnnotationsMetadataAttributes = class end
public class CachedDataAnnotationsMetadataAttributes
The CachedDataAnnotationsMetadataAttributes type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CachedDataAnnotationsMetadataAttributes | Initializes a new instance of the CachedDataAnnotationsMetadataAttributes class. |
Top
Properties
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. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Remarks
The HiddenInputAttribute attribute cannot be cached.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.