Dela via


DatePickerDialog.IOnDateSetListener.OnDateSet Method

Definition

[Android.Runtime.Register("onDateSet", "(Landroid/widget/DatePicker;III)V", "GetOnDateSet_Landroid_widget_DatePicker_IIIHandler:Android.App.DatePickerDialog/IOnDateSetListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnDateSet (Android.Widget.DatePicker? view, int year, int month, int dayOfMonth);
[<Android.Runtime.Register("onDateSet", "(Landroid/widget/DatePicker;III)V", "GetOnDateSet_Landroid_widget_DatePicker_IIIHandler:Android.App.DatePickerDialog/IOnDateSetListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnDateSet : Android.Widget.DatePicker * int * int * int -> unit

Parameters

view
DatePicker

the picker associated with the dialog

year
Int32

the selected year

month
Int32

the selected month (0-11 for compatibility with Calendar#MONTH)

dayOfMonth
Int32

the selected day of the month (1-31, depending on month)

Attributes

Remarks

Java documentation for android.app.DatePickerDialog.OnDateSetListener.onDateSet(android.widget.DatePicker, 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