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
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per