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