BindingSourceValueProvider 類別

定義

值提供者,提供來自特定 BindingSource 的資料。

public ref class BindingSourceValueProvider abstract : Microsoft::AspNetCore::Mvc::ModelBinding::IBindingSourceValueProvider, Microsoft::AspNetCore::Mvc::ModelBinding::IValueProvider
public abstract class BindingSourceValueProvider : Microsoft.AspNetCore.Mvc.ModelBinding.IBindingSourceValueProvider, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider
type BindingSourceValueProvider = class
    interface IBindingSourceValueProvider
    interface IValueProvider
Public MustInherit Class BindingSourceValueProvider
Implements IBindingSourceValueProvider, IValueProvider
繼承
BindingSourceValueProvider
衍生
實作

備註

BindingSourceValueProvider是基底實作 IValueProvider ,可為指定對應 BindingSource 的所有參數和模型屬性提供資料。

BindingSourceValueProvider 會實作 IBindingSourceValueProvider ,並根據模型的相關聯 BindingSource ,從值提供者集合中包含或排除本身。 值提供者預設為包含;如果模型未指定 BindingSource ,則所有值提供者都是有效的。

建構函式

BindingSourceValueProvider(BindingSource)

建立新的 BindingSourceValueProvider

屬性

BindingSource

取得對應的 BindingSource

方法

ContainsPrefix(String)

判斷集合是否包含指定的前置詞。

Filter(BindingSource)

根據 bindingSource 篩選值提供者。

GetValue(String)

使用指定的索引鍵擷取值物件。

適用於