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>路由值的型別。

適用於