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)

使用指定键和控制器上下文返回值对象。

适用于