共用方式為


QueryStringAttribute 建構函式

定義

初始化 QueryStringAttribute 類別的新執行個體。

多載

QueryStringAttribute()

初始化 QueryStringAttribute 類別的新執行個體。

QueryStringAttribute(String)

使用查詢字串金鑰,初始化 QueryStringAttribute 類別的新執行個體。

備註

如需搭配 Web Form 使用模型系結的教學課程系列,請參閱模型系結和 Web Form

QueryStringAttribute()

初始化 QueryStringAttribute 類別的新執行個體。

public:
 QueryStringAttribute();
public QueryStringAttribute ();
Public Sub New ()

備註

如需搭配 Web Form 使用模型系結的教學課程系列,請參閱模型系結和 Web Form

適用於

QueryStringAttribute(String)

使用查詢字串金鑰,初始化 QueryStringAttribute 類別的新執行個體。

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)

參數

key
String

索引鍵。

備註

如需搭配 Web Form 使用模型系結的教學課程系列,請參閱模型系結和 Web Form

適用於