Fragment.GetString Fragment.GetString Method

Definition

Overloads

GetString(Int32) GetString(Int32)

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

GetString(Int32, Object[]) GetString(Int32, Object[])

GetString(Int32) GetString(Int32)

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

[Android.Runtime.Register("getString", "(I)Ljava/lang/String;", "")]
public string GetString (int resId);
member this.GetString : int -> string

Parameters

resId
Int32 Int32

Resource id for the string

Returns

Remarks

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.

GetString(Int32, Object[]) GetString(Int32, Object[])

[Android.Runtime.Register("getString", "(I[Ljava/lang/Object;)Ljava/lang/String;", "")]
public string GetString (int resId, params Java.Lang.Object[] formatArgs);
member this.GetString : int * Java.Lang.Object[] -> string

Parameters

resId
Int32 Int32
formatArgs
Object[]

Returns

Remarks

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