ViewContext Members
.NET Framework 3.5
Encapsulates information that is related to rendering a view.
The ViewContext type exposes the following members.
| Name | Description | |
|---|---|---|
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
Controller | Gets or sets the controller. (Inherited from ControllerContext.) |
|
HttpContext | Gets or sets the HTTP context. (Inherited from ControllerContext.) |
|
RequestContext | Gets or sets the request context. (Inherited from ControllerContext.) |
|
RouteData | Gets or sets the URL route data. (Inherited from ControllerContext.) |
|
TempData | Gets data that is associated with this request and that is available for only one request. |
|
View | Gets an object that implements the IView interface to render in the browser. |
|
ViewData | Gets the view data that is passed to the view. |