共用方式為


BindPropertyAttribute.BindingSource 屬性

定義

取得 BindingSource

public:  virtual property Microsoft::AspNetCore::Mvc::ModelBinding::BindingSource ^ BindingSource {  public:
Microsoft::AspNetCore::Mvc::ModelBinding::BindingSource ^ get(); protected:
 void set(Microsoft::AspNetCore::Mvc::ModelBinding::BindingSource ^ value); };
public virtual Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource BindingSource { get; protected set; }
public virtual Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource? BindingSource { get; protected set; }
member this.BindingSource : Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource with get, set
Public Overridable Property BindingSource As BindingSource

屬性值

如果 BinderTypenull ,則預設為 null 。 否則,預設為 Custom 。 可以在子類別中覆寫。

適用於