MaxLengthRouteConstraint Class

 

Constrains a route parameter to be a string with a maximum length.

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

System::Object
  System.Web.Http.Routing.Constraints::MaxLengthRouteConstraint

public ref class MaxLengthRouteConstraint : IHttpRouteConstraint

NameDescription
System_CAPS_pubmethodMaxLengthRouteConstraint(Int32)

Initializes a new instance of the MaxLengthRouteConstraint class.

NameDescription
System_CAPS_pubpropertyMaxLength

Gets the maximum length of the route parameter.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodMatch(HttpRequestMessage^, IHttpRoute^, String^, IDictionary<String^, Object^>^, HttpRouteDirection)

Determines whether this instance equals a specified route.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

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: