ViewDataDictionary<TModel> Methods
The ViewDataDictionary<TModel> type exposes the following members.
| Name | Description | |
|---|---|---|
|
Add(KeyValuePair<String, Object>) | Adds the specified item to the collection. (Inherited from ViewDataDictionary.) |
|
Add(String, Object) | Adds an element to the collection using the specified key and value . (Inherited from ViewDataDictionary.) |
|
Clear | Removes all items from the collection. (Inherited from ViewDataDictionary.) |
|
Contains | Determines whether the collection contains the specified item. (Inherited from ViewDataDictionary.) |
|
ContainsKey | Determines whether the collection contains an element that has the specified key. (Inherited from ViewDataDictionary.) |
|
CopyTo | Copies the elements of the collection to an array, starting at a particular index. (Inherited from ViewDataDictionary.) |
|
Equals | (Inherited from Object.) |
|
Eval(String) | Evaluates the specified expression. (Inherited from ViewDataDictionary.) |
|
Eval(String, String) | Evaluates the specified expression by using the specified format. (Inherited from ViewDataDictionary.) |
|
Finalize | (Inherited from Object.) |
|
GetEnumerator | Returns an enumerator that can be used to iterate through the collection. (Inherited from ViewDataDictionary.) |
|
GetHashCode | (Inherited from Object.) |
|
GetType | (Inherited from Object.) |
|
GetViewDataInfo | Returns information about the view data as defined by the expression parameter. (Inherited from ViewDataDictionary.) |
|
MemberwiseClone | (Inherited from Object.) |
|
Remove(KeyValuePair<String, Object>) | Removes the first occurrence of a specified object from the collection. (Inherited from ViewDataDictionary.) |
|
Remove(String) | Removes the element from the collection using the specified key. (Inherited from ViewDataDictionary.) |
|
SetModel | Sets the data model to use for the view. (Overrides ViewDataDictionary.SetModel(Object).) |
|
ToString | (Inherited from Object.) |
|
TryGetValue | Attempts to retrieve the value that is associated with the specified key. (Inherited from ViewDataDictionary.) |
| Name | Description | |
|---|---|---|
|
IEnumerable.GetEnumerator | Returns an enumerator that can be used to iterate through the collection. (Inherited from ViewDataDictionary.) |
Show: