Url Property

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)

public UrlHelper Url { get; set; }

Property Value

Type: System.Web.Mvc.UrlHelper

The URL helper object.

Return to top
Show:
© 2016 Microsoft