RequestUri.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
| Name | Description |
|---|---|
| AppendPath(TimeSpan, String, Boolean) | |
| AppendPath(DateTimeOffset, String, Boolean) | |
| AppendPath(Byte[], String, Boolean) | |
| AppendPath(Single, Boolean) | |
| AppendPath(ReadOnlySpan<Char>, Boolean) |
Optionally escapes and appends the |
| AppendPath(Int64, Boolean) | |
| AppendPath(String, Boolean) |
Optionally escapes and appends the |
| AppendPath(Guid, Boolean) | |
| AppendPath(Double, Boolean) | |
| AppendPath(IEnumerable<String>, Boolean) | |
| AppendPath(Boolean, Boolean) | |
| AppendPath(String) |
Escapes and appends the |
| AppendPath(Int32, Boolean) |
AppendPath(TimeSpan, String, Boolean)
AppendPath(DateTimeOffset, String, Boolean)
public void AppendPath(DateTimeOffset value, string format, bool escape = true);
member this.AppendPath : DateTimeOffset * string * bool -> unit
Public Sub AppendPath (value As DateTimeOffset, format As String, Optional escape As Boolean = true)
Parameters
- value
- DateTimeOffset
- format
- String
- escape
- Boolean
Applies to
AppendPath(Byte[], String, Boolean)
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".
public:
virtual void AppendPath(ReadOnlySpan<char> value, bool escape);
public virtual void AppendPath(ReadOnlySpan<char> value, bool escape);
abstract member AppendPath : ReadOnlySpan<char> * bool -> unit
override this.AppendPath : ReadOnlySpan<char> * bool -> unit
Public Overridable 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)
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:
virtual void AppendPath(System::String ^ value, bool escape);
public virtual void AppendPath(string value, bool escape);
abstract member AppendPath : string * bool -> unit
override this.AppendPath : string * bool -> unit
Public Overridable 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
AppendPath(IEnumerable<String>, Boolean)
public void AppendPath(System.Collections.Generic.IEnumerable<string> value, bool escape = true);
member this.AppendPath : seq<string> * bool -> unit
Public Sub AppendPath (value As IEnumerable(Of String), Optional escape As Boolean = true)
Parameters
- value
- IEnumerable<String>
- escape
- Boolean
Applies to
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".
public:
virtual void AppendPath(System::String ^ value);
public virtual void AppendPath(string value);
abstract member AppendPath : string -> unit
override this.AppendPath : string -> unit
Public Overridable Sub AppendPath (value As String)
Parameters
- value
- String
The value to escape and append.