共用方式為


FormattedString.Implicit(String to FormattedString) Operator

Definition

public:
 static operator Microsoft::Maui::Controls::FormattedString ^(System::String ^ text);
public static implicit operator Microsoft.Maui.Controls.FormattedString (string text);
static member op_Implicit : string -> Microsoft.Maui.Controls.FormattedString
Public Shared Widening Operator CType (text As String) As FormattedString

Parameters

text
String

Returns

Applies to