Partager via


Context.GetText(Int32) Method

Definition

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

public string GetText (int resId);
member this.GetText : int -> string

Parameters

resId
Int32

Resource id for the CharSequence text

Returns

Remarks

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

Java documentation for android.content.Context.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