Dela via


BindingBehaviorAttribute(BindingBehavior) Constructor

Definition

Initializes a new BindingBehaviorAttribute instance.

public:
 BindingBehaviorAttribute(Microsoft::AspNetCore::Mvc::ModelBinding::BindingBehavior behavior);
public BindingBehaviorAttribute (Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehavior behavior);
new Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehaviorAttribute : Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehavior -> Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehaviorAttribute
Public Sub New (behavior As BindingBehavior)

Parameters

behavior
BindingBehavior

The BindingBehavior to apply.

Applies to