共用方式為


RequestUriBuilder.AppendQuery Method

Definition

Overloads

AppendQuery(String, String)

Appends a query parameter adding separator if required. Escapes the value.

AppendQuery(ReadOnlySpan<Char>, ReadOnlySpan<Char>, Boolean)

Appends a query parameter adding separator if required.

AppendQuery(String, String, Boolean)

Appends a query parameter adding separator if required.

AppendQuery(String, String)

Source:
RequestUriBuilder.cs

Appends a query parameter adding separator if required. Escapes the value.

public void AppendQuery (string name, string value);
member this.AppendQuery : string * string -> unit
Public Sub AppendQuery (name As String, value As String)

Parameters

name
String

The name of parameter.

value
String

The value of parameter.

Applies to

AppendQuery(ReadOnlySpan<Char>, ReadOnlySpan<Char>, Boolean)

Source:
RequestUriBuilder.cs

Appends a query parameter adding separator if required.

public void AppendQuery (ReadOnlySpan<char> name, ReadOnlySpan<char> value, bool escapeValue);
member this.AppendQuery : ReadOnlySpan<char> * ReadOnlySpan<char> * bool -> unit
Public Sub AppendQuery (name As ReadOnlySpan(Of Char), value As ReadOnlySpan(Of Char), escapeValue As Boolean)

Parameters

name
ReadOnlySpan<Char>

The name of parameter.

value
ReadOnlySpan<Char>

The value of parameter.

escapeValue
Boolean

Whether value should be escaped.

Applies to

AppendQuery(String, String, Boolean)

Source:
RequestUriBuilder.cs

Appends a query parameter adding separator if required.

public void AppendQuery (string name, string value, bool escapeValue);
member this.AppendQuery : string * string * bool -> unit
Public Sub AppendQuery (name As String, value As String, escapeValue As Boolean)

Parameters

name
String

The name of parameter.

value
String

The value of parameter.

escapeValue
Boolean

Whether value should be escaped.

Applies to