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