Initializes a new instance of the Appointment class with the specified parameters.

Namespace:  C1.C1Schedule
Assembly:  C1.Silverlight.Schedule (in C1.Silverlight.Schedule.dll)

Syntax

C#
public Appointment(
	DateTime start,
	TimeSpan duration,
	string subject
)
Visual Basic
Public Sub New ( _
	start As DateTime, _
	duration As TimeSpan, _
	subject As String _
)

Parameters

start
Type: System..::..DateTime
The DateTime value which specifies the start date and time of the appointment.
duration
Type: System..::..TimeSpan
The TimeSpan value which specifies the duration of the appointment.
subject
Type: System..::..String
The String value which contains the subject of the appointment.

See Also