Condividi tramite


AjaxHelper.ViewContext Property

Gets the context information about the view.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Property ViewContext As ViewContext
    Get
    Private Set
public ViewContext ViewContext { get; private set; }
public:
property ViewContext^ ViewContext {
    ViewContext^ get ();
    private: void set (ViewContext^ value);
}

Property Value

Type: System.Web.Mvc.ViewContext
The context of the view.

Remarks

The ViewContext object contains information that is related to rendering a view, including the view's ViewData and TempData dictionaries.

See Also

Reference

AjaxHelper Class

System.Web.Mvc Namespace