Scheduler for WinForms
Add(DateTime,TimeSpan) メソッド

C1.ScheduleCore アセンブリ > C1.Schedule 名前空間 > AppointmentCollection クラス > Add メソッド : Add(DateTime,TimeSpan) メソッド
The System.DateTime value which specifies the start date and time of the appointment.
The System.TimeSpan value which specifies the duration of the appointment.
Creates the new Appointment object with specified parameters and adds it to the collection.
シンタックス
'宣言
 
Public Overloads Function Add( _
   ByVal start As System.Date, _
   ByVal duration As System.TimeSpan _
) As Appointment
public Appointment Add( 
   System.DateTime start,
   System.TimeSpan duration
)

パラメータ

start
The System.DateTime value which specifies the start date and time of the appointment.
duration
The System.TimeSpan value which specifies the duration of the appointment.

戻り値の型

The Appointment object.
参照

AppointmentCollection クラス
AppointmentCollection メンバ
オーバーロード一覧