共用方式為


DatePicker.UpdateDate(Int32, Int32, Int32) Method

Definition

Update the current date.

[Android.Runtime.Register("updateDate", "(III)V", "GetUpdateDate_IIIHandler")]
public virtual void UpdateDate (int year, int month, int dayOfMonth);
[<Android.Runtime.Register("updateDate", "(III)V", "GetUpdateDate_IIIHandler")>]
abstract member UpdateDate : int * int * int -> unit
override this.UpdateDate : int * int * int -> unit

Parameters

year
Int32

The year.

month
Int32

The month which is <strong>starting from zero</strong>.

dayOfMonth
Int32

The day of the month.

Attributes

Remarks

Update the current date.

Java documentation for android.widget.DatePicker.updateDate(int, int, 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