CachedDataAnnotationsMetadataAttributes Constructor
Initializes a new instance of the CachedDataAnnotationsMetadataAttributes class.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Sub New ( _
attributes As Attribute() _
)
'Usage
Dim attributes As Attribute()
Dim instance As New CachedDataAnnotationsMetadataAttributes(attributes)
public CachedDataAnnotationsMetadataAttributes(
Attribute[] attributes
)
public:
CachedDataAnnotationsMetadataAttributes(
array<Attribute^>^ attributes
)
new :
attributes:Attribute[] -> CachedDataAnnotationsMetadataAttributes
public function CachedDataAnnotationsMetadataAttributes(
attributes : Attribute[]
)
Parameters
attributes
Type: System.Attribute[]The attributes.