Partager via


HttpRoute.RouteTemplate Property

Gets the route template describing the URI pattern to match against.

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

Syntax

'Declaration
Public ReadOnly Property RouteTemplate As String
    Get
'Usage
Dim instance As HttpRoute
Dim value As String

value = instance.RouteTemplate
public string RouteTemplate { get; }
public:
virtual property String^ RouteTemplate {
    String^ get () sealed;
}
abstract RouteTemplate : string
override RouteTemplate : string
final function get RouteTemplate () : String

Property Value

Type: System.String
The route template describing the URI pattern to match against.

Implements

IHttpRoute.RouteTemplate

See Also

Reference

HttpRoute Class

System.Web.Http.Routing Namespace