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

Namespace:  C1.C1Schedule
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
public Appointment(
	int key
)
Visual Basic
Public Sub New ( _
	key As Integer _
)

Parameters

key
Type: System..::..Int32
The Int32 value which should be used as appointment key.

Remarks

Use this constructor if your business logic requires setting custom key value. Make sure that you use the correct constructor overload (with integer or Guid key value) and that key value is unique.

See Also