Controller.Redirect(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a RedirectResult object that redirects to the specified URL.
protected internal virtual System.Web.Mvc.RedirectResult Redirect (string url);
abstract member Redirect : string -> System.Web.Mvc.RedirectResult
override this.Redirect : string -> System.Web.Mvc.RedirectResult
Protected Friend Overridable Function Redirect (url As String) As RedirectResult
Parameters
- url
- String
The URL to redirect to.
Returns
The redirect result object.