ValueProviderDictionary Class

 
Note: This API is now obsolete.

Note: This API is now obsolete.

Represents a dictionary of value providers for the application.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

System.Object
  System.Web.Mvc.ValueProviderDictionary

[ObsoleteAttribute("The recommended alternative is to use one of the specific ValueProvider types, such as FormValueProvider.")]
public class ValueProviderDictionary : IDictionary<string, ValueProviderResult>, 
	ICollection<KeyValuePair<string, ValueProviderResult>>, IEnumerable<KeyValuePair<string, ValueProviderResult>>, 
	IEnumerable, IValueProvider

NameDescription
System_CAPS_pubmethodValueProviderDictionary(ControllerContext)

Initializes a new instance of the ValueProviderDictionary class.

NameDescription
System_CAPS_pubpropertyControllerContext

Gets or sets the controller context.

System_CAPS_pubpropertyCount

Gets the number of elements in the collection.

System_CAPS_pubpropertyIsReadOnly

Gets a value that indicates whether the collection is read-only.

System_CAPS_pubpropertyItem[String]

Gets or sets the ValueProviderResult object that has the specified key.

System_CAPS_pubpropertyKeys

Gets a collection that contains the keys of the IDictionary<TKey, TValue> instance.

System_CAPS_pubpropertyValues

Gets a collection that contains the values in the IDictionary<TKey, TValue> object.

NameDescription
System_CAPS_pubmethodAdd(KeyValuePair<String, ValueProviderResult>)

Adds the specified item to the collection of value providers.

System_CAPS_pubmethodAdd(String, Object)

Adds an element that has the specified key and value to the collection of value providers.

System_CAPS_pubmethodAdd(String, ValueProviderResult)

Adds an element that has the specified key and value to the collection of value providers.

System_CAPS_pubmethodClear()

Removes all items from the collection of value providers.

System_CAPS_pubmethodContains(KeyValuePair<String, ValueProviderResult>)

Determines whether the collection of value providers contains the specified item.

System_CAPS_pubmethodContainsKey(String)

Determines whether the collection of value providers contains an element that has the specified key.

System_CAPS_pubmethodCopyTo(KeyValuePair<String, ValueProviderResult>[], Int32)

Copies the elements of the collection to an array, starting at the specified index.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns an enumerator that can be used to iterate through the collection.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemove(KeyValuePair<String, ValueProviderResult>)

Removes the first occurrence of the specified item from the collection of value providers.

System_CAPS_pubmethodRemove(String)

Removes the element that has the specified key from the collection of value providers.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTryGetValue(String, ValueProviderResult)

Gets the value of the element that has the specified key.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Returns an enumerator that can be used to iterate through a collection.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIValueProvider.ContainsPrefix(String)

Determines whether the collection contains the specified prefix.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIValueProvider.GetValue(String)

Returns a value object using the specified key.

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

Return to top
Show: