ValueProviderDictionary Class
Note: This API is now obsolete.
Represents a dictionary of value providers for the application.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
[ObsoleteAttribute("The recommended alternative is to use one of the specific ValueProvider types, such as FormValueProvider.")] public ref class ValueProviderDictionary : IDictionary<String^, ValueProviderResult^>, ICollection<KeyValuePair<String^, ValueProviderResult^>>, IEnumerable<KeyValuePair<String^, ValueProviderResult^>>, IEnumerable, IValueProvider
| Name | Description | |
|---|---|---|
![]() | ValueProviderDictionary(ControllerContext^) | Initializes a new instance of the ValueProviderDictionary class. |
| Name | Description | |
|---|---|---|
![]() | ControllerContext | Gets or sets the controller context. |
![]() | Count | Gets the number of elements in the collection. |
![]() | IsReadOnly | Gets a value that indicates whether the collection is read-only. |
![]() | Item[String^] | Gets or sets the ValueProviderResult object that has the specified key. |
![]() | Keys | Gets a collection that contains the keys of the IDictionary<TKey, TValue> instance. |
![]() | Values | Gets a collection that contains the values in the IDictionary<TKey, TValue> object. |
| Name | Description | |
|---|---|---|
![]() | Add(KeyValuePair<String^, ValueProviderResult^>) | Adds the specified item to the collection of value providers. |
![]() | Add(String^, Object^) | Adds an element that has the specified key and value to the collection of value providers. |
![]() | Add(String^, ValueProviderResult^) | Adds an element that has the specified key and value to the collection of value providers. |
![]() | Clear() | Removes all items from the collection of value providers. |
![]() | Contains(KeyValuePair<String^, ValueProviderResult^>) | Determines whether the collection of value providers contains the specified item. |
![]() | ContainsKey(String^) | Determines whether the collection of value providers contains an element that has the specified key. |
![]() | CopyTo(array<KeyValuePair<String^, ValueProviderResult^>>^, Int32) | Copies the elements of the collection to an array, starting at the specified index. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetEnumerator() | Returns an enumerator that can be used to iterate through the collection. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Remove(KeyValuePair<String^, ValueProviderResult^>) | Removes the first occurrence of the specified item from the collection of value providers. |
![]() | Remove(String^) | Removes the element that has the specified key from the collection of value providers. |
![]() | ToString() | (Inherited from Object.) |
![]() | TryGetValue(String^, ValueProviderResult^) | Gets the value of the element that has the specified key. |
| Name | Description | |
|---|---|---|
![]() ![]() | IEnumerable::GetEnumerator() | Returns an enumerator that can be used to iterate through a collection. |
![]() ![]() | IValueProvider::ContainsPrefix(String^) | Determines whether the collection contains the specified prefix. |
![]() ![]() | IValueProvider::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.




