RouteDataAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET