Language

UrlHelper Class

Inheritance Hierarchy

System.Object   System.Web.Http.Routing.UrlHelper

Namespace:  System.Web.Http.Routing Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Class UrlHelper
'Usage
Dim instance As UrlHelper
public class UrlHelper
public ref class UrlHelper
type UrlHelper =  class end
public class UrlHelper

The UrlHelper type exposes the following members.

Constructors

Name Description
UrlHelper Initializes a new instance of the UrlHelper class.

Top

Properties

Name Description
Request Gets or sets the HttpRequestMessage of the current UrlHelper instance.

Top

Methods

Name Description
Equals (Inherited from Object.)
Finalize (Inherited from Object.)
GetHashCode (Inherited from Object.)
GetType (Inherited from Object.)
Link(String, IDictionary<String, Object>) Returns a link for the specified route.
Link(String, Object) Returns a link for the specified route.
MemberwiseClone (Inherited from Object.)
Route(String, IDictionary<String, Object>) Returns the route for the UrlHelper.
Route(String, Object) Returns the route for the UrlHelper.
ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Http.Routing Namespace