RouteValueDictionary 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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
- 实现
-
ICollection<KeyValuePair<String,Object>> ICollection<KeyValuePair<TKey,TValue>> IDictionary<String,Object> IEnumerable<KeyValuePair<String,Object>> IEnumerable<KeyValuePair<TKey,TValue>> IEnumerable<T> IReadOnlyCollection<KeyValuePair<String,Object>> IReadOnlyCollection<KeyValuePair<TKey,TValue>> IReadOnlyDictionary<String,Object> IEnumerable
构造函数
RouteValueDictionary() |
创建一个空的 RouteValueDictionary。 |
RouteValueDictionary(IEnumerable<KeyValuePair<String,Object>>) |
RouteValueDictionary使用指定的 |
RouteValueDictionary(IEnumerable<KeyValuePair<String,String>>) |
RouteValueDictionary使用指定的 |
RouteValueDictionary(Object) |
RouteValueDictionary使用指定的 |
RouteValueDictionary(RouteValueDictionary) |
RouteValueDictionary使用指定的 |
属性
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, Object) |
尝试从 RouteValueDictionary 中移除并返回具有指定键的值。 |
Remove(String) |
IDictionary<TKey,TValue>路由值的类型。 |
TryAdd(String, Object) |
尝试将提供的 |
TryGetValue(String, Object) |
IDictionary<TKey,TValue>路由值的类型。 |