DictionaryValueProvider<TValue> 類別

定義

表示值提供者的基底類別,該值提供者的值來自實作 IDictionary<TKey,TValue> 介面的集合。

public class DictionaryValueProvider<TValue> : System.Web.Mvc.IEnumerableValueProvider
type DictionaryValueProvider<'Value> = class
    interface IValueProvider
    interface IEnumerableValueProvider
Public Class DictionaryValueProvider(Of TValue)
Implements IEnumerableValueProvider

類型參數

TValue

值的類型。

繼承
DictionaryValueProvider<TValue>
衍生
實作

建構函式

DictionaryValueProvider<TValue>(IDictionary<String,TValue>, CultureInfo)

初始化 DictionaryValueProvider<TValue> 類別的新執行個體。

方法

ContainsPrefix(String)

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

GetKeysFromPrefix(String)

從前置字元取得索引鍵。

GetValue(String)

使用指定的索引鍵和控制器內容,傳回值物件。

適用於