RouteValueDictionary 类

定义

IDictionary<TKey,TValue>路由值的类型。

public ref class RouteValueDictionary : System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::Collections::Generic::IDictionary<System::String ^, System::Object ^>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::Collections::Generic::IReadOnlyCollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::Object ^>
public class RouteValueDictionary : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IDictionary<string,object>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IReadOnlyDictionary<string,object>
type RouteValueDictionary = class
    interface IDictionary<string, obj>
    interface ICollection<KeyValuePair<string, obj>>
    interface seq<KeyValuePair<string, obj>>
    interface IEnumerable
    interface IReadOnlyDictionary<string, obj>
    interface IReadOnlyCollection<KeyValuePair<string, obj>>
type RouteValueDictionary = class
    interface ICollection<KeyValuePair<string, obj>>
    interface seq<KeyValuePair<string, obj>>
    interface IEnumerable
    interface IDictionary<string, obj>
    interface IReadOnlyCollection<KeyValuePair<string, obj>>
    interface IReadOnlyDictionary<string, obj>
Public Class RouteValueDictionary
Implements ICollection(Of KeyValuePair(Of String, Object)), IDictionary(Of String, Object), IEnumerable(Of KeyValuePair(Of String, Object)), IReadOnlyCollection(Of KeyValuePair(Of String, Object)), IReadOnlyDictionary(Of String, Object)
继承
RouteValueDictionary
实现

构造函数

RouteValueDictionary()

创建一个空的 RouteValueDictionary

RouteValueDictionary(IEnumerable<KeyValuePair<String,Object>>)

RouteValueDictionary使用指定的 values创建初始化的 。

RouteValueDictionary(IEnumerable<KeyValuePair<String,String>>)

RouteValueDictionary使用指定的 values创建初始化的 。

RouteValueDictionary(Object)

RouteValueDictionary使用指定的 values创建初始化的 。

RouteValueDictionary(RouteValueDictionary)

RouteValueDictionary使用指定的 dictionary创建初始化的 。

属性

Comparer

获取此字典的比较器。

Count

IDictionary<TKey,TValue>路由值的类型。

Item[String]

IDictionary<TKey,TValue>路由值的类型。

Keys

IDictionary<TKey,TValue>路由值的类型。

Values

IDictionary<TKey,TValue>路由值的类型。

方法

Add(String, Object)

IDictionary<TKey,TValue>路由值的类型。

Clear()

IDictionary<TKey,TValue>路由值的类型。

ContainsKey(String)

IDictionary<TKey,TValue>路由值的类型。

FromArray(KeyValuePair<String,Object>[])

RouteValueDictionary从提供的数组创建新的 。 新实例将获取数组的所有权,并可能对其进行改变。

GetEnumerator()

IDictionary<TKey,TValue>路由值的类型。

Remove(String)

IDictionary<TKey,TValue>路由值的类型。

Remove(String, Object)

尝试从 RouteValueDictionary 中移除并返回具有指定键的值。

TryAdd(String, Object)

尝试将提供的 keyvalue 添加到字典中。

TryGetValue(String, Object)

IDictionary<TKey,TValue>路由值的类型。

显式接口实现

ICollection<KeyValuePair<String,Object>>.Add(KeyValuePair<String,Object>)

IDictionary<TKey,TValue>路由值的类型。

ICollection<KeyValuePair<String,Object>>.Contains(KeyValuePair<String,Object>)

IDictionary<TKey,TValue>路由值的类型。

ICollection<KeyValuePair<String,Object>>.CopyTo(KeyValuePair<String,Object>[], Int32)

IDictionary<TKey,TValue>路由值的类型。

ICollection<KeyValuePair<String,Object>>.IsReadOnly

IDictionary<TKey,TValue>路由值的类型。

ICollection<KeyValuePair<String,Object>>.Remove(KeyValuePair<String,Object>)

IDictionary<TKey,TValue>路由值的类型。

IEnumerable.GetEnumerator()

IDictionary<TKey,TValue>路由值的类型。

IEnumerable<KeyValuePair<String,Object>>.GetEnumerator()

IDictionary<TKey,TValue>路由值的类型。

IReadOnlyDictionary<String,Object>.Keys

IDictionary<TKey,TValue>路由值的类型。

IReadOnlyDictionary<String,Object>.Values

IDictionary<TKey,TValue>路由值的类型。

适用于