PreferenceGroup.AddPreference(Preference) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a Preference
at the correct position based on the
preference's order.
[Android.Runtime.Register("addPreference", "(Landroid/preference/Preference;)Z", "GetAddPreference_Landroid_preference_Preference_Handler")]
public virtual bool AddPreference (Android.Preferences.Preference? preference);
[<Android.Runtime.Register("addPreference", "(Landroid/preference/Preference;)Z", "GetAddPreference_Landroid_preference_Preference_Handler")>]
abstract member AddPreference : Android.Preferences.Preference -> bool
override this.AddPreference : Android.Preferences.Preference -> bool
Parameters
- preference
- Preference
The preference to add.
Returns
Whether the preference is now in this group.
- Attributes
Remarks
Adds a Preference
at the correct position based on the preference's order.
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.