Freigeben über


Preference.SetTitle(Int32) Method

Definition

Sets the title for this Preference with a resource ID.

[Android.Runtime.Register("setTitle", "(I)V", "GetSetTitle_IHandler")]
public virtual void SetTitle (int titleResId);
[<Android.Runtime.Register("setTitle", "(I)V", "GetSetTitle_IHandler")>]
abstract member SetTitle : int -> unit
override this.SetTitle : int -> unit

Parameters

titleResId
Int32

the title as a resource ID

Attributes

Remarks

Sets the title for this Preference with a resource ID.

Java documentation for android.preference.Preference.setTitle(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

See also