Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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:
© 2015 Microsoft