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

ID,唯一标识符。

displayName
String

显示名称。

isGreedy
Boolean

一个值,该值指示源是否贪婪。

isFromRequest
Boolean

一个 值,该值指示数据是否来自 HTTP 请求。

适用于