ViewDataDictionary Methods
Visual Studio 2010
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 | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Eval(String) | Evaluates the specified expression. |
|
Eval(String, String) | Evaluates the specified expression by using the specified format. |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetEnumerator | Returns an enumerator that can be used to iterate through the collection. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
GetViewDataInfo | Returns information about the view data as defined by the expression parameter. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (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 | Returns a string that represents the current object. (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. |
Community Additions
ADD
Show: