RoutePattern.RequiredValueAny Field

Definition

A marker object that can be used in RequiredValues to designate that any non-null or non-empty value is required.

C#
public static readonly object RequiredValueAny;

Field Value

Remarks

RequiredValueAny is only use in routing is in RequiredValues. RequiredValueAny is not valid as a route value, and will convert to the null/empty string.

Applies to

Product Versions
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0