Modifica

Condividi tramite


RouteDataAttribute Constructors

Definition

Initializes a new instance of the RouteDataAttribute class.

Overloads

RouteDataAttribute()

Initializes a new instance of the RouteDataAttribute class.

RouteDataAttribute(String)

Initializes a new instance of the RouteDataAttribute class, using the route data key.

Remarks

For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.

RouteDataAttribute()

Initializes a new instance of the RouteDataAttribute class.

public:
 RouteDataAttribute();
public RouteDataAttribute ();
Public Sub New ()

Remarks

For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.

Applies to

RouteDataAttribute(String)

Initializes a new instance of the RouteDataAttribute class, using the route data key.

public:
 RouteDataAttribute(System::String ^ key);
public RouteDataAttribute (string key);
new System.Web.ModelBinding.RouteDataAttribute : string -> System.Web.ModelBinding.RouteDataAttribute
Public Sub New (key As String)

Parameters

key
String

The key.

Remarks

For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.

Applies to