Udostępnij za pośrednictwem


ViewPage.Url Property

Gets or sets the URL of the rendered page.

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

Syntax

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

Property Value

Type: System.Web.Mvc.UrlHelper
The URL of the rendered page.

See Also

Reference

ViewPage Class

System.Web.Mvc Namespace