QueryStringAttribute 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 QueryStringAttribute class.
Overloads
QueryStringAttribute() |
Initializes a new instance of the QueryStringAttribute class. |
QueryStringAttribute(String) |
Initializes a new instance of the QueryStringAttribute class using the specified query string key. |
Remarks
For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.
QueryStringAttribute()
Initializes a new instance of the QueryStringAttribute class.
public:
QueryStringAttribute();
public QueryStringAttribute ();
Public Sub New ()
Remarks
For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.
Applies to
QueryStringAttribute(String)
Initializes a new instance of the QueryStringAttribute class using the specified query string key.
public:
QueryStringAttribute(System::String ^ key);
public QueryStringAttribute (string key);
new System.Web.ModelBinding.QueryStringAttribute : string -> System.Web.ModelBinding.QueryStringAttribute
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