PathString.Implicit 操作员

定义

重载

Implicit(PathString to String)

隐式调用 ToString () 。

Implicit(String to PathString)

从给定字符串隐式创建一个新的 PathString。

Implicit(PathString to String)

Source:
PathString.cs
Source:
PathString.cs
Source:
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)

Source:
PathString.cs
Source:
PathString.cs
Source:
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

返回

适用于