Partager via


HttpRouteValueDictionary Class

Represents a route class for self-host of specified key/value pairs.

Inheritance Hierarchy

System.Object
  System.Collections.Generic.Dictionary<String, Object>
    System.Web.Http.Routing.HttpRouteValueDictionary

Namespace:  System.Web.Http.Routing
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Class HttpRouteValueDictionary _
    Inherits Dictionary(Of String, Object)
'Usage
Dim instance As HttpRouteValueDictionary
public class HttpRouteValueDictionary : Dictionary<string, Object>
public ref class HttpRouteValueDictionary : public Dictionary<String^, Object^>
type HttpRouteValueDictionary =  
    class
        inherit Dictionary<string, Object>
    end
public class HttpRouteValueDictionary extends Dictionary<String, Object>

The HttpRouteValueDictionary type exposes the following members.

Constructors

  Name Description
Public method HttpRouteValueDictionary() Initializes a new instance of the HttpRouteValueDictionary class.
Public method HttpRouteValueDictionary(IDictionary<String, Object>) Initializes a new instance of the HttpRouteValueDictionary class.
Public method HttpRouteValueDictionary(Object) Initializes a new instance of the HttpRouteValueDictionary class.

Top

Properties

  Name Description
Public property Comparer (Inherited from Dictionary<String, Object>.)
Public property Count (Inherited from Dictionary<String, Object>.)
Public property Item (Inherited from Dictionary<String, Object>.)
Public property Keys (Inherited from Dictionary<String, Object>.)
Public property Values (Inherited from Dictionary<String, Object>.)

Top

Methods

  Name Description
Public method Add (Inherited from Dictionary<String, Object>.)
Public method Clear (Inherited from Dictionary<String, Object>.)
Public method ContainsKey (Inherited from Dictionary<String, Object>.)
Public method ContainsValue (Inherited from Dictionary<String, Object>.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator (Inherited from Dictionary<String, Object>.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Security Critical. (Inherited from Dictionary<String, Object>.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method OnDeserialization (Inherited from Dictionary<String, Object>.)
Public method Remove (Inherited from Dictionary<String, Object>.)
Public method ToString (Inherited from Object.)
Public method TryGetValue (Inherited from Dictionary<String, Object>.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICollection<KeyValuePair<TKey, TValue>>.Add (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate method IDictionary.Add (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate method ICollection<KeyValuePair<TKey, TValue>>.Contains (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate method IDictionary.Contains (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate method ICollection<KeyValuePair<TKey, TValue>>.CopyTo (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate method IEnumerable<KeyValuePair<TKey, TValue>>.GetEnumerator (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate method IDictionary.GetEnumerator (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate property IDictionary.IsFixedSize (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate property ICollection<KeyValuePair<TKey, TValue>>.IsReadOnly (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate property IDictionary.IsReadOnly (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate property IDictionary.Item (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate property IDictionary<TKey, TValue>.Keys (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate property System#Collections#Generic#IReadOnlyDictionary{TKey@TValue}#Keys (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate property IDictionary.Keys (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate method ICollection<KeyValuePair<TKey, TValue>>.Remove (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate method IDictionary.Remove (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate property ICollection.SyncRoot (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate property IDictionary<TKey, TValue>.Values (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate property System#Collections#Generic#IReadOnlyDictionary{TKey@TValue}#Values (Inherited from Dictionary<String, Object>.)
Explicit interface implemetationPrivate property IDictionary.Values (Inherited from Dictionary<String, Object>.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Http.Routing Namespace