BindingBehaviorAttribute(BindingBehavior) 构造函数
定义
初始化 BindingBehaviorAttribute 类的新实例。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)
参数
- behavior
- BindingBehavior
模型绑定的行为。The model-binding behavior.