Export (0) Print
Expand All

RouteParameter Class

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.

System.Object
  System.Web.Http.RouteParameter

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

public sealed class RouteParameter

The RouteParameter type exposes the following members.

  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToStringReturns a String that represents this instance. (Overrides Object.ToString().)
Top

  NameDescription
Public fieldStatic memberOptionalAn optional parameter.
Top

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