Compartilhar via


StringLengthAttributeAdapter Constructor

Initializes a new instance of the StringLengthAttributeAdapter 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 StringLengthAttribute _
)
public StringLengthAttributeAdapter(
    ModelMetadata metadata,
    ControllerContext context,
    StringLengthAttribute attribute
)
public:
StringLengthAttributeAdapter(
    ModelMetadata^ metadata, 
    ControllerContext^ context, 
    StringLengthAttribute^ attribute
)

Parameters

See Also

Reference

StringLengthAttributeAdapter Class

System.Web.Mvc Namespace