Share via


QueryString.Add 方法

定義

多載

Add(QueryString)

other串連至目前的查詢字串。

Add(String, String)

將查詢字串與 namevalue 串連至目前的查詢字串。

Add(QueryString)

來源:
QueryString.cs
來源:
QueryString.cs

other串連至目前的查詢字串。

public:
 Microsoft::AspNetCore::Http::QueryString Add(Microsoft::AspNetCore::Http::QueryString other);
public Microsoft.AspNetCore.Http.QueryString Add (Microsoft.AspNetCore.Http.QueryString other);
member this.Add : Microsoft.AspNetCore.Http.QueryString -> Microsoft.AspNetCore.Http.QueryString
Public Function Add (other As QueryString) As QueryString

參數

other
QueryString

要串連的 QueryString

傳回

串連的 QueryString

適用於

Add(String, String)

來源:
QueryString.cs
來源:
QueryString.cs

將查詢字串與 namevalue 串連至目前的查詢字串。

public:
 Microsoft::AspNetCore::Http::QueryString Add(System::String ^ name, System::String ^ value);
public Microsoft.AspNetCore.Http.QueryString Add (string name, string value);
member this.Add : string * string -> Microsoft.AspNetCore.Http.QueryString
Public Function Add (name As String, value As String) As QueryString

參數

name
String

要串連的查詢字串名稱。

value
String

要串連的查詢字串值。

傳回

串連的 QueryString

適用於