語言

TextUtils.SafeStringFlagFirstLine 欄位

定義

警告

This constant will be removed in the future version. Use Android.Text.SafeStringFlagMode enum directly instead of this field.

只回傳第一行文字(在第一個換行處截斷)。

[Android.Runtime.Register("SAFE_STRING_FLAG_FIRST_LINE", ApiSince=29)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Text.SafeStringFlagMode enum directly instead of this field.", true)]
public const Android.Text.SafeStringFlagMode SafeStringFlagFirstLine = 4;
[<Android.Runtime.Register("SAFE_STRING_FLAG_FIRST_LINE", ApiSince=29)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Text.SafeStringFlagMode enum directly instead of this field.", true)>]
val mutable SafeStringFlagFirstLine : Android.Text.SafeStringFlagMode

欄位值

Value = 4
屬性

備註

只回傳第一行文字(在第一個換行處截斷)。 不能與 #SAFE_STRING_FLAG_SINGLE_LINE同時設定。

Java 文件 android.text.TextUtils.SAFE_STRING_FLAG_FIRST_LINE。

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

適用於