Share via


PreferenceGroup.GetPreference(Int32) Method

Definition

Returns the Preference at a particular index.

[Android.Runtime.Register("getPreference", "(I)Landroid/preference/Preference;", "GetGetPreference_IHandler")]
public virtual Android.Preferences.Preference? GetPreference (int index);
[<Android.Runtime.Register("getPreference", "(I)Landroid/preference/Preference;", "GetGetPreference_IHandler")>]
abstract member GetPreference : int -> Android.Preferences.Preference
override this.GetPreference : int -> Android.Preferences.Preference

Parameters

index
Int32

The index of the Preference to retrieve.

Returns

The Preference.

Attributes

Remarks

Returns the Preference at a particular index.

Java documentation for android.preference.PreferenceGroup.getPreference(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