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
Public method CachedDataAnnotationsMetadataAttributes Initializes a new instance of the CachedDataAnnotationsMetadataAttributes class.

Top

Properties

  Name Description
Public property DataType Gets the data type.
Public property Display Gets the display.
Public property DisplayColumn Gets the display column.
Public property DisplayFormat Gets the display format.
Public property DisplayName Gets the display name.
Public property Editable Indicates whether a data field is editable.
Public property HiddenInput Gets the hidden input.
Public property ReadOnly Indicates whether a data field is read only.
Public property Required Indicates whether a data field is required.
Public property ScaffoldColumn Indicates whether a data field is scaffold.
Public property UIHint Gets the UI hint.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method 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.

See Also

Reference

System.Web.Mvc Namespace