Compartilhar via


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
Public method UrlHelper Initializes a new instance of the UrlHelper class.

Top

Properties

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

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Link(String, IDictionary<String, Object>) Returns a link for the specified route.
Public method Link(String, Object) Returns a link for the specified route.
Protected method MemberwiseClone (Inherited from Object.)
Public method Route(String, IDictionary<String, Object>) Returns the route for the UrlHelper.
Public method Route(String, Object) Returns the route for the UrlHelper.
Public method 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