RequestUriBuilder.AppendPath Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AppendPath(String) |
Escapes and appends the |
AppendPath(ReadOnlySpan<Char>, Boolean) |
Optionally escapes and appends the |
AppendPath(String, Boolean) |
Optionally escapes and appends the |
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.