次の方法で共有


Spinner.SetPromptId(Int32) Method

Definition

Sets the prompt to display when the dialog is shown.

[Android.Runtime.Register("setPromptId", "(I)V", "GetSetPromptId_IHandler")]
public virtual void SetPromptId (int promptId);
[<Android.Runtime.Register("setPromptId", "(I)V", "GetSetPromptId_IHandler")>]
abstract member SetPromptId : int -> unit
override this.SetPromptId : int -> unit

Parameters

promptId
Int32

the resource ID of the prompt to display when the dialog is shown

Attributes

Remarks

Sets the prompt to display when the dialog is shown.

Java documentation for android.widget.Spinner.setPromptId(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