ViewDataDictionary(Of TModel) Methods
Visual Studio 2010
The ViewDataDictionary(Of TModel) type exposes the following members.
| Name | Description | |
|---|---|---|
|
Add(KeyValuePair(Of 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 | Determines whether the specified Object is equal to the current Object. (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 | 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. (Inherited from ViewDataDictionary.) |
|
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. (Inherited from ViewDataDictionary.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Remove(KeyValuePair(Of 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 | Returns a string that represents the current object. (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.) |
Community Additions
ADD
Show: