共用方式為


BindingSource(String, String, Boolean, Boolean) 建構函式

定義

建立新的 BindingSource

public:
 BindingSource(System::String ^ id, System::String ^ displayName, bool isGreedy, bool isFromRequest);
public BindingSource (string id, string displayName, bool isGreedy, bool isFromRequest);
new Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource : string * string * bool * bool -> Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource
Public Sub New (id As String, displayName As String, isGreedy As Boolean, isFromRequest As Boolean)

參數

id
String

識別碼,唯一識別碼。

displayName
String

顯示名稱。

isGreedy
Boolean

值,指出來源是否窮盡。

isFromRequest
Boolean

值,指出資料是否來自 HTTP 要求。

適用於