PathString.Implicit 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Implicit(PathString to String) |
隱含呼叫 ToString () 。 |
Implicit(String to PathString) |
從指定的字串隱含建立新的 PathString。 |
Implicit(PathString to String)
隱含呼叫 ToString () 。
public:
static operator System::String ^(Microsoft::AspNetCore::Http::PathString path);
public static implicit operator string (Microsoft.AspNetCore.Http.PathString path);
static member op_Implicit : Microsoft.AspNetCore.Http.PathString -> string
Public Shared Widening Operator CType (path As PathString) As String
參數
- path
- PathString
傳回
適用於
Implicit(String to PathString)
從指定的字串隱含建立新的 PathString。
public:
static operator Microsoft::AspNetCore::Http::PathString(System::String ^ s);
public static implicit operator Microsoft.AspNetCore.Http.PathString (string s);
public static implicit operator Microsoft.AspNetCore.Http.PathString (string? s);
static member op_Implicit : string -> Microsoft.AspNetCore.Http.PathString
Public Shared Widening Operator CType (s As String) As PathString
參數
- s
- String
傳回
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應