CachedDataAnnotationsMetadataAttributes Class

 

Provides a container to cache System.ComponentModel.DataAnnotations attributes.

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

Inheritance Hierarchy

System.Object
  System.Web.Mvc.CachedDataAnnotationsMetadataAttributes

Syntax

public class CachedDataAnnotationsMetadataAttributes
public ref class CachedDataAnnotationsMetadataAttributes 
type CachedDataAnnotationsMetadataAttributes = class end
Public Class CachedDataAnnotationsMetadataAttributes

Constructors

Name Description
System_CAPS_pubmethod CachedDataAnnotationsMetadataAttributes(Attribute[])

Initializes a new instance of the CachedDataAnnotationsMetadataAttributes class.

Properties

Name Description
System_CAPS_pubproperty DataType

Gets the data type.

System_CAPS_pubproperty Display

Gets the display.

System_CAPS_pubproperty DisplayColumn

Gets the display column.

System_CAPS_pubproperty DisplayFormat

Gets the display format.

System_CAPS_pubproperty DisplayName

Gets the display name.

System_CAPS_pubproperty Editable

Indicates whether a data field is editable.

System_CAPS_pubproperty HiddenInput

Gets the hidden input.

System_CAPS_pubproperty ReadOnly

Indicates whether a data field is read only.

System_CAPS_pubproperty Required

Indicates whether a data field is required.

System_CAPS_pubproperty ScaffoldColumn

Indicates whether a data field is scaffold.

System_CAPS_pubproperty UIHint

Gets the UI hint.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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

System.Web.Mvc Namespace

Return to top