共用方式為


RequestUriBuilder.AppendPath Method

Definition

Overloads

AppendPath(String)

Escapes and appends the value to Path without adding path separator. Path segments and any other characters will be escaped, e.g. ":" will be escaped as "%3a".

AppendPath(ReadOnlySpan<Char>, Boolean)

Optionally escapes and appends the value to Path without adding path separator. If escape is true, path segments and any other characters will be escaped, e.g. ":" will be escaped as "%3a".

AppendPath(String, Boolean)

Optionally escapes and appends the value to Path without adding path separator. If escape is true, path segments and any other characters will be escaped, e.g. ":" will be escaped as "%3a".

AppendPath(String)

Source:
RequestUriBuilder.cs

Escapes and appends the value to Path without adding path separator. Path segments and any other characters will be escaped, e.g. ":" will be escaped as "%3a".

public void AppendPath (string value);
member this.AppendPath : string -> unit
Public Sub AppendPath (value As String)

Parameters

value
String

The value to escape and append.

Applies to

AppendPath(ReadOnlySpan<Char>, Boolean)

Source:
RequestUriBuilder.cs

Optionally escapes and appends the value to Path without adding path separator. If escape is true, path segments and any other characters will be escaped, e.g. ":" will be escaped as "%3a".

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

Parameters

value
ReadOnlySpan<Char>

The value to optionally escape and append.

escape
Boolean

Whether value should be escaped.

Applies to

AppendPath(String, Boolean)

Source:
RequestUriBuilder.cs

Optionally escapes and appends the value to Path without adding path separator. If escape is true, path segments and any other characters will be escaped, e.g. ":" will be escaped as "%3a".

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

Parameters

value
String

The value to optionally escape and append.

escape
Boolean

Whether value should be escaped.

Applies to