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

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

Syntax

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

Parameters

key
Type: System..::..Int32
The Int32 value which should be used as label 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