BindingBehaviorAttribute(BindingBehavior) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.