語言

ClipData.Item.CoerceToStyledText(Context) 方法

定義

像 #coerceToHtmlText(Context),但任何會以 HTML 格式回傳的文字,都會以帶有樣式範圍的文字回傳。

public string CoerceToStyledText(Android.Content.Context context);
member this.CoerceToStyledText : Android.Content.Context -> string

參數

context
Context

呼叫者的上下文,可以從中取得其內容解析器及其他資料。

傳回

回傳該項目的文字表示。

備註

像 #coerceToHtmlText(Context),但任何會以 HTML 格式回傳的文字,都會以帶有樣式範圍的文字回傳。

Java 文件 android.content.ClipData.Item.coerceToStyledText(android.content.Context)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於