ViewDataDictionary<TModel>.Remove Method

Include Protected Members
Include Inherited Members

Removes an object from the collection.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
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.)

Top

See Also

Reference

ViewDataDictionary<TModel> Class

System.Web.Mvc Namespace