StringLengthAttributeAdapter Constructor

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the StringLengthAttributeAdapter class.

Namespace:  System.Web.Http.Validation.Validators
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Sub New ( _
    metadata As ModelMetadata, _
    actionContext As HttpActionContext, _
    attribute As StringLengthAttribute _
)
public StringLengthAttributeAdapter(
    ModelMetadata metadata,
    HttpActionContext actionContext,
    StringLengthAttribute attribute
)
public:
StringLengthAttributeAdapter(
    ModelMetadata^ metadata, 
    HttpActionContext^ actionContext, 
    StringLengthAttribute^ attribute
)
new : 
        metadata:ModelMetadata * 
        actionContext:HttpActionContext * 
        attribute:StringLengthAttribute -> StringLengthAttributeAdapter
public function StringLengthAttributeAdapter(
    metadata : ModelMetadata, 
    actionContext : HttpActionContext, 
    attribute : StringLengthAttribute
)

Parameters

See Also

Reference

StringLengthAttributeAdapter Class

System.Web.Http.Validation.Validators Namespace