語言

FormattableFlags.Uppercase 欄位

定義

警告

This constant will be removed in the future version. Use Java.Util.FormatFlags enum directly instead of this field.

依照 Java 的規則將輸出轉為大寫。

[Android.Runtime.Register("UPPERCASE")]
[System.Obsolete("This constant will be removed in the future version. Use Java.Util.FormatFlags enum directly instead of this field.", true)]
public const Java.Util.FormatFlags Uppercase = 2;
[<Android.Runtime.Register("UPPERCASE")>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Util.FormatFlags enum directly instead of this field.", true)>]
val mutable Uppercase : Java.Util.FormatFlags

欄位值

Value = 2
屬性

備註

依據 java.util.locale locale 在建立 formatter 方法參數 Formattable#formatTo formatTo() 時所提供的規則,將輸出轉換為大寫。 輸出應等價於以下的呼叫 String#toUpperCase(java.util.Locale)

out.toUpperCase()

此旗標對應 'S' 格式指定符中的 ('&#92;u0053') 。

Java 文件 java.util.FormattableFlags.UPPERCASE

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

適用於