QueryStringAttribute Constructor (String)

.NET Framework (current version)
 

Initializes a new instance of the QueryStringAttribute class using the specified query string key.

Namespace:   System.Web.ModelBinding
Assembly:  System.Web (in System.Web.dll)

Public Sub New (
	key As String
)

Parameters

key
Type: System.String

The key.

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

.NET Framework
Available since 4.5
Return to top
Show: