BindingBehaviorAttribute(BindingBehavior) Constructor

Definition

Initializes a new instance of the BindingBehaviorAttribute class.

public:
 BindingBehaviorAttribute(System::Web::ModelBinding::BindingBehavior behavior);
public BindingBehaviorAttribute (System.Web.ModelBinding.BindingBehavior behavior);
new System.Web.ModelBinding.BindingBehaviorAttribute : System.Web.ModelBinding.BindingBehavior -> System.Web.ModelBinding.BindingBehaviorAttribute
Public Sub New (behavior As BindingBehavior)

Parameters

behavior
BindingBehavior

The model-binding behavior.

Applies to