Поделиться через


RequiredAttributeAdapter Constructor

Initializes a new instance of the RequiredAttributeAttribute class.

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

Syntax

'Declaration
Public Sub New ( _
    metadata As ModelMetadata, _
    context As ControllerContext, _
    attribute As RequiredAttribute _
)
public RequiredAttributeAdapter(
    ModelMetadata metadata,
    ControllerContext context,
    RequiredAttribute attribute
)
public:
RequiredAttributeAdapter(
    ModelMetadata^ metadata, 
    ControllerContext^ context, 
    RequiredAttribute^ attribute
)

Parameters

See Also

Reference

RequiredAttributeAdapter Class

System.Web.Mvc Namespace