Home
Library
Learn
Downloads
Support
Community
Sign in
|
United States - English
|
|
MSDN Library
Web Development
ASP.NET
ASP.NET MVC 2
ASP.NET MVC Reference
System.Web.Mvc
IViewDataContainer Interface
IViewDataContainer Properties
ViewData Property
Community Content
Add code samples and tips to enhance this topic.
More...
This topic has not yet been rated
-
Rate this topic
IViewDataContainer
.
ViewData Property
.NET Framework 4
Other Versions
.NET Framework 3.5
Gets or sets the view data dictionary.
Namespace:
System.Web.Mvc
Assembly:
System.Web.Mvc
(in System.Web.Mvc.dll)
Syntax
C#
C++
VB
Copy
ViewDataDictionary ViewData {
get
;
set
; }
Property Value
Type:
System.Web.Mvc
.
ViewDataDictionary
The view data dictionary.
See Also
Reference
IViewDataContainer Interface
System.Web.Mvc Namespace
Did you find this helpful?
Yes
No
Not accurate
Not enough depth
Need more code examples
Tell us more...
(
1500
characters remaining)
Community Content
Add
FAQ