RouteValueDictionary Clase

Definición

Tipo IDictionary<TKey,TValue> para los valores de ruta.

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)
Herencia
RouteValueDictionary
Implementaciones

Constructores

RouteValueDictionary()

Crea una colección RouteValueDictionary vacía.

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

Crea un RouteValueDictionary objeto inicializado con el especificado values.

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

Crea un RouteValueDictionary objeto inicializado con el especificado values.

RouteValueDictionary(Object)

Crea un RouteValueDictionary objeto inicializado con el especificado values.

RouteValueDictionary(RouteValueDictionary)

Crea un RouteValueDictionary objeto inicializado con el especificado dictionary.

Propiedades

Comparer

Obtiene el comparador de este diccionario.

Count

Gets the number of elements contained in the ICollection<T>.

Item[String]

Gets or sets the element with the specified key.

Keys

Gets an ICollection<T> containing the keys of the IDictionary<TKey,TValue>.

Values

Gets an ICollection<T> containing the values in the IDictionary<TKey,TValue>.

Métodos

Add(String, Object)

Adds an element with the provided key and value to the IDictionary<TKey,TValue>.

Clear()

Removes all items from the ICollection<T>.

ContainsKey(String)

Determines whether the IDictionary<TKey,TValue> contains an element with the specified key.

FromArray(KeyValuePair<String,Object>[])

Crea un nuevo RouteValueDictionary a partir de la matriz proporcionada. La nueva instancia tomará posesión de la matriz y puede mutarla.

GetEnumerator() System.Object.GetEnumerator
Remove(String)

Removes the element with the specified key from the IDictionary<TKey,TValue>.

Remove(String, Object)

Intenta quitar y devolver el valor que tiene la clave especificada de RouteValueDictionary.

TryAdd(String, Object)

Intenta agregar el proporcionado key y value al diccionario.

TryGetValue(String, Object) System.Object.TryGetValue(System.String,System.Object@)

Implementaciones de interfaz explícitas

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

Adds an item to the ICollection<T>.

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

Determines whether the ICollection<T> contains a specific value.

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

Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.

ICollection<KeyValuePair<String,Object>>.IsReadOnly

Gets a value indicating whether the ICollection<T> is read-only.

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

Removes the first occurrence of a specific object from the ICollection<T>.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

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

Returns an enumerator that iterates through the collection.

IReadOnlyDictionary<String,Object>.Keys
IReadOnlyDictionary<String,Object>.Values

Se aplica a