Modifica

Condividi tramite


QueryStringAttribute Constructors

Definition

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