共用方式為


BindingBehaviorAttribute.Behavior 屬性

定義

取得要套用的 BindingBehavior

public:
 property Microsoft::AspNetCore::Mvc::ModelBinding::BindingBehavior Behavior { Microsoft::AspNetCore::Mvc::ModelBinding::BindingBehavior get(); };
public Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehavior Behavior { get; }
member this.Behavior : Microsoft.AspNetCore.Mvc.ModelBinding.BindingBehavior
Public ReadOnly Property Behavior As BindingBehavior

屬性值

適用於