Table of Contents

Class UrlParameter

Namespace
System.Web.Mvc
Assembly
System.Web.Mvc.dll

Represents an optional parameter that is used by the MvcHandler class during routing.

public sealed class UrlParameter
Inheritance
UrlParameter
Inherited Members

Fields

Optional

Contains the read-only value for the optional parameter.

public static readonly UrlParameter Optional

Field Value

UrlParameter

Methods

ToString()

Returns an empty string. This method supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code.

public override string ToString()

Returns

string

An empty string.