共用方式為


FormattedString.Explicit(FormattedString to String) 運算子

定義

將 FormattedString 轉換成字串,並去除所有屬性。

public static explicit operator string(Xamarin.Forms.FormattedString formatted);
static member op_Explicit : Xamarin.Forms.FormattedString -> string

參數

formatted
FormattedString

要轉換的格式化字串。

傳回

System.String

適用於