RequestUri.AppendPath 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| AppendPath(TimeSpan, String, Boolean) | |
| AppendPath(DateTimeOffset, String, Boolean) | |
| AppendPath(Byte[], String, Boolean) | |
| AppendPath(Single, Boolean) | |
| AppendPath(ReadOnlySpan<Char>, Boolean) |
可選擇性地跳脫並附加 |
| AppendPath(Int64, Boolean) | |
| AppendPath(String, Boolean) |
可選擇性地跳脫並附加 |
| AppendPath(Guid, Boolean) | |
| AppendPath(Double, Boolean) | |
| AppendPath(IEnumerable<String>, Boolean) | |
| AppendPath(Boolean, Boolean) | |
| AppendPath(String) |
跳脫並附加 到 |
| 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)
參數
- value
- DateTimeOffset
- format
- String
- escape
- Boolean
適用於
AppendPath(Byte[], String, 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(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(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)
參數
- value
- IEnumerable<String>
- 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
逃逸與附加的價值。