Delen via


Controller.Url Property

Gets the URL helper object that is used to generate URLs by using routing.

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 helper object.

See Also

Reference

Controller Class

System.Web.Mvc Namespace