RouteParameter Class

 

The RouteParameter class can be used to indicate properties about a route parameter (the literals and placeholders located within segments of a M:IHttpRoute.RouteTemplate). It can for example be used to indicate that a route parameter is optional.

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

System.Object
  System.Web.Http.RouteParameter

public sealed class RouteParameter

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a String that represents this instance.(Overrides Object.ToString().)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticOptional

An optional parameter.

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

Return to top
Show: