ModelBinderAttribute Constructor

 

Namespace:   System.Web.Http.ModelBinding
Assembly:  System.Web.Http (in System.Web.Http.dll)

Overload List

Name Description
System_CAPS_pubmethod ModelBinderAttribute()

Initializes a new instance of the ModelBinderAttribute class.

System_CAPS_pubmethod ModelBinderAttribute(Type)

Initializes a new instance of the ModelBinderAttribute class.

See Also

ModelBinderAttribute Class
System.Web.Http.ModelBinding Namespace

Return to top

ModelBinderAttribute Constructor ()

Initializes a new instance of the ModelBinderAttribute class.

Syntax

public ModelBinderAttribute()
public:
ModelBinderAttribute()
new : unit -> ModelBinderAttribute
Public Sub New

Return to top

ModelBinderAttribute Constructor (Type)

Initializes a new instance of the ModelBinderAttribute class.

Syntax

public ModelBinderAttribute(
    Type binderType
)
public:
ModelBinderAttribute(
    Type^ binderType
)
new : 
        binderType:Type -> ModelBinderAttribute
Public Sub New (
    binderType As Type
)

Parameters

  • binderType
    Type: System.Type

    The type of model binder.

Return to top