Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The RouteParameter class can be used to indicate properties about a route parameter (the literals and placeholders located within segments of a RouteTemplate()). It can for example be used to indicate that a route parameter is optional.
Inheritance Hierarchy
System.Object
System.Web.Http.RouteParameter
Namespace: System.Web.Http
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public NotInheritable Class RouteParameter
'Usage
Dim instance As RouteParameter
public sealed class RouteParameter
public ref class RouteParameter sealed
[<SealedAttribute>]
type RouteParameter = class end
public final class RouteParameter
The RouteParameter type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
ToString | Returns a String that represents this instance. (Overrides Object.ToString().) |
Top
Fields
Name | Description | |
---|---|---|
![]() ![]() |
Optional | An optional parameter. |
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.