共用方式為


BindingBehaviorAttribute(BindingBehavior) 建構函式

定義

初始化 BindingBehaviorAttribute 類別的新執行個體。

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

模型繫結行為。

適用於