Language

RequestUri.AppendPath Method

Definition

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 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(Int64, Boolean)
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(Guid, Boolean)
AppendPath(Double, Boolean)
AppendPath(IEnumerable<String>, Boolean)
AppendPath(Boolean, Boolean)
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(Int32, Boolean)

AppendPath(TimeSpan, String, Boolean)

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

Parameters

value
TimeSpan
format
String
escape
Boolean

Applies to

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

format
String
escape
Boolean

Applies to

AppendPath(Byte[], String, Boolean)

public void AppendPath(byte[] value, string format, bool escape = true);
member this.AppendPath : byte[] * string * bool -> unit
Public Sub AppendPath (value As Byte(), format As String, Optional escape As Boolean = true)

Parameters

value
Byte[]
format
String
escape
Boolean

Applies to

AppendPath(Single, Boolean)

public void AppendPath(float value, bool escape = true);
member this.AppendPath : single * bool -> unit
Public Sub AppendPath (value As Single, Optional escape As Boolean = true)

Parameters

value
Single
escape
Boolean

Applies to

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(Int64, Boolean)

public void AppendPath(long value, bool escape = true);
member this.AppendPath : int64 * bool -> unit
Public Sub AppendPath (value As Long, Optional escape As Boolean = true)

Parameters

value
Int64
escape
Boolean

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(Guid, Boolean)

public void AppendPath(Guid value, bool escape = true);
member this.AppendPath : Guid * bool -> unit
Public Sub AppendPath (value As Guid, Optional escape As Boolean = true)

Parameters

value
Guid
escape
Boolean

Applies to

AppendPath(Double, Boolean)

public void AppendPath(double value, bool escape = true);
member this.AppendPath : double * bool -> unit
Public Sub AppendPath (value As Double, Optional escape As Boolean = true)

Parameters

value
Double
escape
Boolean

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

escape
Boolean

Applies to

AppendPath(Boolean, Boolean)

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

Parameters

value
Boolean
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.

Applies to

AppendPath(Int32, Boolean)

public void AppendPath(int value, bool escape = true);
member this.AppendPath : int * bool -> unit
Public Sub AppendPath (value As Integer, Optional escape As Boolean = true)

Parameters

value
Int32
escape
Boolean

Applies to