Partager via


ApiController.Url Property

 

Gets an instance of a UrlHelper, which is used to generate URLs to other APIs.

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

Syntax

public UrlHelper Url { get; set; }
public:
property UrlHelper^ Url {
    UrlHelper^ get();
    void set(UrlHelper^ value);
}
member Url : UrlHelper with get, set
Public Property Url As UrlHelper

Property Value

Type: System.Web.Http.Routing.UrlHelper

A UrlHelper, which is used to generate URLs to other APIs.

See Also

ApiController Class
System.Web.Http Namespace

Return to top