다음을 통해 공유


ContextWrapper.MoveSharedPreferencesFrom(Context, String) Method

Definition

[Android.Runtime.Register("moveSharedPreferencesFrom", "(Landroid/content/Context;Ljava/lang/String;)Z", "GetMoveSharedPreferencesFrom_Landroid_content_Context_Ljava_lang_String_Handler", ApiSince=24)]
public override bool MoveSharedPreferencesFrom (Android.Content.Context? sourceContext, string? name);
[<Android.Runtime.Register("moveSharedPreferencesFrom", "(Landroid/content/Context;Ljava/lang/String;)Z", "GetMoveSharedPreferencesFrom_Landroid_content_Context_Ljava_lang_String_Handler", ApiSince=24)>]
override this.MoveSharedPreferencesFrom : Android.Content.Context * string -> bool

Parameters

sourceContext
Context
name
String

Returns

Attributes

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