RouteParameter Constructor (String, String)

.NET Framework (current version)
 

Initializes a new instance of the RouteParameter class by using the specified name for the parameter and the specified key for route data.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public RouteParameter(
	string name,
	string routeKey
)

Parameters

name
Type: System.String

The name of the parameter instance.

routeKey
Type: System.String

The name of the route segment that contains the value for the parameter.

.NET Framework
Available since 4.0
Return to top
Show: