This topic has not yet been rated - Rate this topic

UrlHelper Methods

The UrlHelper type exposes the following members.

  Name Description
Public method Action(String) Generates a fully qualified URL to an action method by using the specified action name.
Public method Action(String, Object) Generates a fully qualified URL to an action method by using the specified action name and route values.
Public method Action(String, String) Generates a fully qualified URL to an action method by using the specified action name and controller name.
Public method Action(String, RouteValueDictionary) Generates a fully qualified URL to an action method for the specified action name and route values.
Public method Action(String, String, Object) Generates a fully qualified URL to an action method by using the specified action name, controller name, and route values.
Public method Action(String, String, RouteValueDictionary) Generates a fully qualified URL to an action method by using the specified action name, controller name, and route values.
Public method Action(String, String, Object, String) Generates a fully qualified URL to an action method by using the specified action name, controller name, route values, and protocol to use.
Public method Action(String, String, RouteValueDictionary, String, String) Generates a fully qualified URL for an action method by using the specified action name, controller name, route values, protocol to use, and host name.
Public method Content Converts a virtual (relative) path to an application absolute path.
Public method Encode Encodes special characters in a URL string into character-entity equivalents.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method Static member GenerateContentUrl Returns a string that contains a content URL.
Public method Static member GenerateUrl(String, String, String, RouteValueDictionary, RouteCollection, RequestContext, Boolean) Returns a string that contains a URL.
Public method Static member GenerateUrl(String, String, String, String, String, String, RouteValueDictionary, RouteCollection, RequestContext, Boolean) Returns a string that contains a URL.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method HttpRouteUrl(String, Object) Generates a fully qualified URL for the specified route values.
Public method HttpRouteUrl(String, RouteValueDictionary) Generates a fully qualified URL for the specified route values.
Public method IsLocalUrl Returns a value that indicates whether the URL is local.
Protected method MemberwiseClone (Inherited from Object.)
Public method RouteUrl(Object) Generates a fully qualified URL for the specified route values.
Public method RouteUrl(String) Generates a fully qualified URL for the specified route name.
Public method RouteUrl(RouteValueDictionary) Generates a fully qualified URL for the specified route values.
Public method RouteUrl(String, Object) Generates a fully qualified URL for the specified route values by using a route name.
Public method RouteUrl(String, RouteValueDictionary) Generates a fully qualified URL for the specified route values by using a route name.
Public method RouteUrl(String, Object, String) Generates a fully qualified URL for the specified route values by using a route name and the protocol to use.
Public method RouteUrl(String, RouteValueDictionary, String, String) Generates a fully qualified URL for the specified route values by using the specified route name, protocol to use, and host name.
Public method ToString (Inherited from Object.)
Top
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.