ViewDataDictionary Methods
The ViewDataDictionary type exposes the following members.
| 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 | Determines whether the collection contains the specified item. |
|
ContainsKey | Determines whether the collection contains an element that has the specified key. |
|
CopyTo | Copies the elements of the collection to an array, starting at a particular index. |
|
Equals | (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 | 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 | Sets the data model to use for the view. |
|
ToString | (Inherited from Object.) |
|
TryGetValue | 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. |
Show: