BindingSource 類別

定義

中繼資料物件,表示模型系結的資料來源。

public ref class BindingSource : IEquatable<Microsoft::AspNetCore::Mvc::ModelBinding::BindingSource ^>
public class BindingSource : IEquatable<Microsoft.AspNetCore.Mvc.ModelBinding.BindingSource>
type BindingSource = class
    interface IEquatable<BindingSource>
Public Class BindingSource
Implements IEquatable(Of BindingSource)
繼承
BindingSource
衍生
實作

建構函式

BindingSource(String, String, Boolean, Boolean)

建立新的 BindingSource

欄位

Body

BindingSource要求本文的 。

Custom

自訂模型系結器的 (BindingSource 未知資料來源) 。

Form

BindingSource要求表單資料的 。

FormFile

BindingSourceIFormCollectionIFormFileCollectionIFormFile

Header

BindingSource要求標頭的 。

ModelBinding

BindingSource模型系結的 。 包含來自要求的表單資料、查詢字串和路由資料。

Path

BindingSource要求 URL 路徑的 。

Query

BindingSource要求查詢字串的 。

Services

BindingSource要求服務的 。

Special

BindingSource非使用者輸入之特殊參數型別的 。

屬性

DisplayName

取得來源的顯示名稱。

Id

取得來源的唯一識別碼。 來源會根據其識別碼進行比較。

IsFromRequest

取得值,指出系結來源是否使用來自目前 HTTP 要求的輸入。

IsGreedy

取得值,指出來源是否窮盡。 窮盡的來源會在單一作業中系結模型,而且不會將模型分解成子屬性。

方法

CanAcceptDataFrom(BindingSource)

取得值,指出 是否可以 BindingSource 接受 的資料。 bindingSource

Equals(BindingSource)

中繼資料物件,表示模型系結的資料來源。

Equals(Object)

中繼資料物件,表示模型系結的資料來源。

GetHashCode()

中繼資料物件,表示模型系結的資料來源。

運算子

Equality(BindingSource, BindingSource)

中繼資料物件,表示模型系結的資料來源。

Inequality(BindingSource, BindingSource)

中繼資料物件,表示模型系結的資料來源。

適用於