ViewDataDictionary<TModel> Methods

The ViewDataDictionary<TModel> type exposes the following members.

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

  Name Description
Explicit interface implemetation Private method IEnumerable.GetEnumerator Returns an enumerator that can be used to iterate through the collection. (Inherited from ViewDataDictionary.)
Top
Show: