語言

RequestUri.AppendPath 方法

定義

多載

名稱 Description
AppendPath(TimeSpan, String, Boolean)
AppendPath(DateTimeOffset, String, Boolean)
AppendPath(Byte[], String, Boolean)
AppendPath(Single, Boolean)
AppendPath(ReadOnlySpan<Char>, Boolean)

可選擇性地跳脫並附加 value 到 而不 Path 加路徑分隔符。 若 escape 為真,路徑段及其他字元將被轉義,例如「:」會以「%3a」形式轉義。

AppendPath(Int64, Boolean)
AppendPath(String, Boolean)

可選擇性地跳脫並附加 value 到 而不 Path 加路徑分隔符。 若 escape 為真,路徑段及其他字元將被轉義,例如「:」會以「%3a」形式轉義。

AppendPath(Guid, Boolean)
AppendPath(Double, Boolean)
AppendPath(IEnumerable<String>, Boolean)
AppendPath(Boolean, Boolean)
AppendPath(String)

跳脫並附加 到 value 但 Path 不加路徑分隔符。 路徑段及其他字元會被逃逸,例如「:」會以「%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)

參數

value
TimeSpan
format
String
escape
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)

參數

format
String
escape
Boolean

適用於

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)

參數

value
Byte[]
format
String
escape
Boolean

適用於

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)

參數

value
Single
escape
Boolean

適用於

AppendPath(ReadOnlySpan<Char>, Boolean)

可選擇性地跳脫並附加 value 到 而不 Path 加路徑分隔符。 若 escape 為真,路徑段及其他字元將被轉義,例如「:」會以「%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)

參數

value
ReadOnlySpan<Char>

可選擇性地跳脫並附加的值。

escape
Boolean

價值是否應該被逃避。

適用於

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)

參數

value
Int64
escape
Boolean

適用於

AppendPath(String, Boolean)

可選擇性地跳脫並附加 value 到 而不 Path 加路徑分隔符。 若 escape 為真,路徑段及其他字元將被轉義,例如「:」會以「%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)

參數

value
String

可選擇性地跳脫並附加的值。

escape
Boolean

價值是否應該被逃避。

適用於

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)

參數

value
Guid
escape
Boolean

適用於

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)

參數

value
Double
escape
Boolean

適用於

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)

參數

escape
Boolean

適用於

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)

參數

value
Boolean
escape
Boolean

適用於

AppendPath(String)

跳脫並附加 到 value 但 Path 不加路徑分隔符。 路徑段及其他字元會被逃逸,例如「:」會以「%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)

參數

value
String

逃逸與附加的價值。

適用於

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)

參數

value
Int32
escape
Boolean

適用於