BindingBehaviorAttribute Constructor (BindingBehavior)
Initializes a new instance of the BindingBehaviorAttribute class.
Namespace: Microsoft.Web.Mvc.ModelBinding
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Syntax
public BindingBehaviorAttribute(
BindingBehavior behavior
)
public:
BindingBehaviorAttribute(
BindingBehavior behavior
)
new :
behavior:BindingBehavior -> BindingBehaviorAttribute
Public Sub New (
behavior As BindingBehavior
)
Parameters
behavior
Type: Microsoft.Web.Mvc.ModelBinding.BindingBehaviorThe model-binding behavior.
See Also
BindingBehaviorAttribute Class
Microsoft.Web.Mvc.ModelBinding Namespace
Return to top