共用方式為


PathString.Implicit 運算子

定義

多載

Implicit(PathString to String)

隱含呼叫 ToString () 。

Implicit(String to PathString)

從指定的字串隱含建立新的 PathString。

Implicit(PathString to String)

來源:
PathString.cs
來源:
PathString.cs
來源:
PathString.cs

隱含呼叫 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.cs
來源:
PathString.cs
來源:
PathString.cs

從指定的字串隱含建立新的 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

傳回

適用於