次の方法で共有


PreferenceGroup.RemovePreference(Preference) Method

Definition

Removes a Preference from this group.

[Android.Runtime.Register("removePreference", "(Landroid/preference/Preference;)Z", "GetRemovePreference_Landroid_preference_Preference_Handler")]
public virtual bool RemovePreference (Android.Preferences.Preference? preference);
[<Android.Runtime.Register("removePreference", "(Landroid/preference/Preference;)Z", "GetRemovePreference_Landroid_preference_Preference_Handler")>]
abstract member RemovePreference : Android.Preferences.Preference -> bool
override this.RemovePreference : Android.Preferences.Preference -> bool

Parameters

preference
Preference

The preference to remove.

Returns

Whether the preference was found and removed.

Attributes

Remarks

Removes a Preference from this group.

Java documentation for android.preference.PreferenceGroup.removePreference(android.preference.Preference).

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