共用方式為


Fragment.GetTextFormatted(Int32) Method

Definition

Return a localized, styled CharSequence from the application's package's default string table.

[Android.Runtime.Register("getText", "(I)Ljava/lang/CharSequence;", "")]
public Java.Lang.ICharSequence? GetTextFormatted (int resId);
[<Android.Runtime.Register("getText", "(I)Ljava/lang/CharSequence;", "")>]
member this.GetTextFormatted : int -> Java.Lang.ICharSequence

Parameters

resId
Int32

Resource id for the CharSequence text

Returns

Attributes

Remarks

Return a localized, styled CharSequence from the application's package's default string table.

Java documentation for android.app.Fragment.getText(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to