Adds a new Task to the collection.

Namespace: DayPilot.Web.Ui
Assembly: DayPilot (in DayPilot.dll) Version: 8.1.3443.0 (8.1.3443.0)

Syntax

C#
public int Add(
	string name,
	string id
)
Visual Basic
Public Function Add ( _
	name As String, _
	id As String _
) As Integer
Visual C++
public:
int Add(
	String^ name, 
	String^ id
)

Parameters

name
Type: System..::..String
Task name
id
Type: System..::..String
Task id

Return Value

See Also