ViewDataDictionary Properties

Include Protected Members
Include Inherited Members

The ViewDataDictionary type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of elements in the collection.
Public property IsReadOnly Gets a value that indicates whether the collection is read-only.
Public property Item Gets or sets the item that is associated with the specified key.
Public property Keys Gets a collection that contains the keys of this dictionary.
Public property Model Gets or sets the model that is associated with the view data.
Public property ModelMetadata Gets or sets information about the model.
Public property ModelState Gets the state of the model.
Public property TemplateInfo Gets or sets an object that encapsulates information about the current template context.
Public property Values Gets a collection that contains the values in this dictionary.

Top

See Also

Reference

ViewDataDictionary Class

System.Web.Mvc Namespace