PathString.Addition 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Addition(String, PathString) | |
Addition(PathString, String) | |
Addition(PathString, PathString) |
Add 的運算子呼叫 |
Addition(PathString, QueryString) |
Add 的運算子呼叫 |
Addition(String, PathString)
public:
static System::String ^ operator +(System::String ^ left, Microsoft::AspNetCore::Http::PathString right);
public static string operator + (string left, Microsoft.AspNetCore.Http.PathString right);
static member ( + ) : string * Microsoft.AspNetCore.Http.PathString -> string
Public Shared Operator + (left As String, right As PathString) As String
參數
- left
- String
左側參數
- right
- PathString
右側參數
傳回
這兩個值的 ToString 組合
適用於
Addition(PathString, String)
public:
static System::String ^ operator +(Microsoft::AspNetCore::Http::PathString left, System::String ^ right);
public static string operator + (Microsoft.AspNetCore.Http.PathString left, string right);
public static string operator + (Microsoft.AspNetCore.Http.PathString left, string? right);
static member ( + ) : Microsoft.AspNetCore.Http.PathString * string -> string
Public Shared Operator + (left As PathString, right As String) As String
參數
- left
- PathString
左側參數
- right
- String
右側參數
傳回
這兩個值的 ToString 組合
適用於
Addition(PathString, PathString)
Add 的運算子呼叫
public:
static Microsoft::AspNetCore::Http::PathString operator +(Microsoft::AspNetCore::Http::PathString left, Microsoft::AspNetCore::Http::PathString right);
public static Microsoft.AspNetCore.Http.PathString operator + (Microsoft.AspNetCore.Http.PathString left, Microsoft.AspNetCore.Http.PathString right);
static member ( + ) : Microsoft.AspNetCore.Http.PathString * Microsoft.AspNetCore.Http.PathString -> Microsoft.AspNetCore.Http.PathString
Public Shared Operator + (left As PathString, right As PathString) As PathString
參數
- left
- PathString
左側參數
- right
- PathString
右側參數
傳回
兩個值的 PathString 組合
適用於
Addition(PathString, QueryString)
Add 的運算子呼叫
public:
static System::String ^ operator +(Microsoft::AspNetCore::Http::PathString left, Microsoft::AspNetCore::Http::QueryString right);
public static string operator + (Microsoft.AspNetCore.Http.PathString left, Microsoft.AspNetCore.Http.QueryString right);
static member ( + ) : Microsoft.AspNetCore.Http.PathString * Microsoft.AspNetCore.Http.QueryString -> string
Public Shared Operator + (left As PathString, right As QueryString) As String
參數
- left
- PathString
左側參數
- right
- QueryString
右側參數
傳回
兩個值的 PathString 組合