ViewDataDictionary Methods
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() | Add(KeyValuePair<String, Object>) | Adds the specified item to the collection. |
![]() | Add(String, Object) | Adds an element to the collection using the specified key and value . |
![]() | Clear() | Removes all items from the collection. |
![]() | Contains(KeyValuePair<String, Object>) | Determines whether the collection contains the specified item. |
![]() | ContainsKey(String) | Determines whether the collection contains an element that has the specified key. |
![]() | CopyTo(KeyValuePair<String, Object>[], Int32) | Copies the elements of the collection to an array, starting at a particular index. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Eval(String) | Evaluates the specified expression. |
![]() | Eval(String, String) | Evaluates the specified expression by using the specified format. |
![]() | 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.) |
![]() | GetViewDataInfo(String) | Returns information about the view data as defined by the expression parameter. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Remove(KeyValuePair<String, Object>) | Removes the first occurrence of a specified object from the collection. |
![]() | Remove(String) | Removes the element from the collection using the specified key. |
![]() | SetModel(Object) | Sets the data model to use for the view. |
![]() | ToString() | (Inherited from Object.) |
![]() | TryGetValue(String, Object) | Attempts to retrieve the value that is associated with the specified key. |
| Name | Description | |
|---|---|---|
![]() ![]() | IEnumerable.GetEnumerator() | Returns an enumerator that can be used to iterate through the collection. |



