共用方式為


MarkupString.Explicit(String to MarkupString) 運算子

定義

StringMarkupString 轉換為 。

public:
 static explicit operator Microsoft::AspNetCore::Components::MarkupString(System::String ^ value);
public static explicit operator Microsoft.AspNetCore.Components.MarkupString (string value);
static member op_Explicit : string -> Microsoft.AspNetCore.Components.MarkupString
Public Shared Narrowing Operator CType (value As String) As MarkupString

參數

value
String

String 值。

傳回

適用於