Scheduler for UWP/WinRT
Add(DateTime,TimeSpan,String) メソッド

予定の開始日時を指定する System.DateTime 値。
予定の期間を指定する System.TimeSpan 値。
予定のタイトルを含む System.String 値。
指定されたパラメータで新しい Appointment オブジェクトを作成し、コレクションに追加します。
構文
'宣言
 
Public Overloads Function Add( _
   ByVal start As System.Date, _
   ByVal duration As System.TimeSpan, _
   ByVal subject As System.String _
) As Appointment
public Appointment Add( 
   System.DateTime start,
   System.TimeSpan duration,
   System.string subject
)

パラメータ

start
予定の開始日時を指定する System.DateTime 値。
duration
予定の期間を指定する System.TimeSpan 値。
subject
予定のタイトルを含む System.String 値。

戻り値の型

Appointment オブジェクト。
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

参照

関連項目

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

Send Feedback